file-pnm: Fix direction of progressbar during load ;)

This commit is contained in:
Mukund Sivaraman 2015-01-20 21:07:59 +05:30
parent 19f4843c66
commit b6095b6fa5
1 changed files with 1 additions and 1 deletions

View File

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