mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +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;
|
||||
gint max_length;
|
||||
|
||||
if (context->type == PNM_TYPE_PBM)
|
||||
if (context->type == PNM_FORMAT_PBM)
|
||||
max_length = 1;
|
||||
else
|
||||
max_length = -1;
|
||||
@ -551,7 +551,7 @@ pnm_read_ascii_mono_scanline (PnmLoaderContext *context)
|
||||
if (retval != PNM_OK)
|
||||
return retval;
|
||||
|
||||
if (context->type == PNM_TYPE_PBM) {
|
||||
if (context->type == PNM_FORMAT_PBM) {
|
||||
value = value ? 0 : 0xff;
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user