diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2006-09-06 13:38:25 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-09-06 13:38:25 +0000 |
commit | 0fd13c5f75171f884744009371288413c4ef4f85 (patch) | |
tree | ba8db28634d5491539eb35921df524466526fcba /gdk-pixbuf | |
parent | c82e5c852f4157cb5ec56ae388992da6994572ef (diff) | |
download | gtk+-0fd13c5f75171f884744009371288413c4ef4f85.tar.gz |
Fix the last change to actually compile.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/io-pnm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk-pixbuf/io-pnm.c b/gdk-pixbuf/io-pnm.c index af40f0fe25..08489ef988 100644 --- a/gdk-pixbuf/io-pnm.c +++ b/gdk-pixbuf/io-pnm.c @@ -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 { |