Fixed variable name.

merge-requests/332/merge
thierry1970 2020-02-11 08:22:43 +01:00
rodzic 23cd9f5d61
commit 4466d51924
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -200,8 +200,8 @@ get_JPEG_data(capabilities_t *scanner, int *width, int *height, int *bps)
if (cinfo.output_height < (unsigned int)scanner->height)
scanner->height = cinfo.output_height;
if (scanner->pos_x < 0)
scanner->pos_x = 0;
if (scanner->pos_y < 0)
scanner->pos_y = 0;
x_off = scanner->pos_x;
w = scanner->width - x_off;