restorable: Fix comments

This commit is contained in:
Hajime Hoshi 2018-08-09 01:27:38 +09:00
parent 3daaef2cab
commit 1aabdd58f1

View File

@ -155,7 +155,7 @@ func (i *Image) ReplacePixels(pixels []byte, x, y, width, height int) {
if pixels != nil {
i.image.ReplacePixels(pixels, x, y, width, height)
} else {
// There are not 'drawImageHistoryItem's for this image and dummyImage (in clear).
// There are not 'drawImageHistoryItem's for this image and dummyImage.
// This means dummyImage might not be restored yet when this image is restored.
// However, that's ok since this image will be stale or have updated pixel data
// and this image can be restored without dummyImage.