Fix the last change to actually compile.

This commit is contained in:
Matthias Clasen 2006-09-06 13:38:25 +00:00
parent c82e5c852f
commit 0fd13c5f75

View File

@ -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 {