plug-ins: bmp import - don't double-check eof
Removed unnecessary if(!eof) -- it's already part of the loop condition.
This commit is contained in:
@ -815,8 +815,6 @@ ReadImage (struct Fileinfo *fi,
|
||||
{
|
||||
gsize offset = (fi->tile_height - fi->tile_n - 1) * fi->rowstride;
|
||||
|
||||
if (! eof)
|
||||
{
|
||||
switch (bmpfmt)
|
||||
{
|
||||
case BMPFMT_RGB:
|
||||
@ -847,7 +845,6 @@ ReadImage (struct Fileinfo *fi,
|
||||
eof = TRUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
cur_progress++;
|
||||
if ((cur_progress % 5) == 0)
|
||||
|
Reference in New Issue
Block a user