mirror of https://github.com/GNOME/gimp.git
file-pnm: Fix direction of progressbar during load ;)
This commit is contained in:
parent
19f4843c66
commit
b6095b6fa5
|
@ -952,7 +952,7 @@ pnm_load_rawpfm (PNMScanner *scan,
|
||||||
NULL, data, GEGL_AUTO_ROWSTRIDE);
|
NULL, data, GEGL_AUTO_ROWSTRIDE);
|
||||||
|
|
||||||
if (y % 32 == 0)
|
if (y % 32 == 0)
|
||||||
gimp_progress_update ((double) y / (double) info->yres);
|
gimp_progress_update ((double) (info->yres - y) / (double) info->yres);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free (data);
|
g_free (data);
|
||||||
|
|
Loading…
Reference in New Issue