Bug #89181 --> fix a typo.

r/sr=sspitzer
This commit is contained in:
mscott%netscape.com 2001-07-13 04:44:56 +00:00
parent 13181e8300
commit 3b18db52c8

View File

@ -230,7 +230,7 @@ void ConvertColorBitMap(unsigned char * buffer, PBITMAPINFO pBitMapInfo, nsCStri
iconBuffer.Append((char) blueValue);
iconBuffer.Append((char) greenValue);
iconBuffer.Append((char) redValue);
pos += bytesPerPixel;
pos += 3;
if (pos == unalignedBytesPerRow && numBytesPaddingPerRow) // if we have reached the end of a current row, add padding to force dword alignment
{
pos = 0;