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:
Rupert
2024-12-20 19:27:31 +01:00
committed by Jacob Boerema
parent 8f1be83840
commit df4d741275

View File

@ -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)