Fix probable infinite loop in bald_guy_load
This commit is contained in:
parent
d1e4a68a3b
commit
46664b522b
|
@ -144,7 +144,6 @@ int bald_guy_load(const char * filename, grs_bitmap * bmp,int bitmap_type ,ubyte
|
|||
bmp->bm_type = bitmap_type;
|
||||
}
|
||||
|
||||
for (row=0; row< ysize ; row++) {
|
||||
for (row=0; row< ysize ; row++) {
|
||||
pixdata = &bmp->bm_data[bmp->bm_rowsize*row];
|
||||
for (col=0; col< xsize ; ) {
|
||||
|
@ -163,7 +162,6 @@ int bald_guy_load(const char * filename, grs_bitmap * bmp,int bitmap_type ,ubyte
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Read the extended palette at the end of PCX file
|
||||
|
|
Loading…
Reference in a new issue