Changeset - r2003:14016f23b352
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-07-03 07:51:13
tron@openttd.org
(svn r2511) Fix an old bug in the PCX writer: The first pixel column contained garbage, the picture was shifted one to the right, and the last column was dropped
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
screenshot.c
Show inline comments
 
@@ -332,7 +332,7 @@ static bool MakePCXImage(const char *nam
 
		for (i = 0; i != n; i++) {
 
			int runcount = 1;
 
			byte *bufp = buff + i * w;
 
			byte runchar = buff[0];
 
			byte runchar = *bufp++;
 
			uint left;
 

	
 
			// for each pixel...
0 comments (0 inline, 0 general)