Commit 0fd13c5f authored by Matthias Clasen's avatar Matthias Clasen

Fix the last change to actually compile.

parent c82e5c85
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment