mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Fix the last change to actually compile.
This commit is contained in:
parent
c82e5c852f
commit
0fd13c5f75
@ -535,7 +535,7 @@ pnm_read_ascii_mono_scanline (PnmLoaderContext *context)
|
|||||||
guchar *dptr;
|
guchar *dptr;
|
||||||
gint max_length;
|
gint max_length;
|
||||||
|
|
||||||
if (context->type == PNM_TYPE_PBM)
|
if (context->type == PNM_FORMAT_PBM)
|
||||||
max_length = 1;
|
max_length = 1;
|
||||||
else
|
else
|
||||||
max_length = -1;
|
max_length = -1;
|
||||||
@ -551,7 +551,7 @@ pnm_read_ascii_mono_scanline (PnmLoaderContext *context)
|
|||||||
if (retval != PNM_OK)
|
if (retval != PNM_OK)
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
if (context->type == PNM_TYPE_PBM) {
|
if (context->type == PNM_FORMAT_PBM) {
|
||||||
value = value ? 0 : 0xff;
|
value = value ? 0 : 0xff;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user