diff options
author | Michael Fulbright <drmike@redhat.com> | 1999-11-10 17:43:49 +0000 |
---|---|---|
committer | Michael Fulbright <drmike@src.gnome.org> | 1999-11-10 17:43:49 +0000 |
commit | 2aa170ce1b34ef6bd0fb1e07bc846009683ff353 (patch) | |
tree | 18370354799769944adea011c04bbab32c33d3c8 /gdk-pixbuf/io-pnm.c | |
parent | d955173295ab471d9e12585c27268ff2065acc18 (diff) | |
download | gdk-pixbuf-2aa170ce1b34ef6bd0fb1e07bc846009683ff353.tar.gz |
Fixed loading of ASCII PNM files.
1999-11-10 Michael Fulbright <drmike@redhat.com>
* src/io-pnm.c (pnm_ascii_read_scanline): Fixed loading of ASCII PNM
files.
* src/testpixbuf.c: Added final queued draw when done loading image.
Diffstat (limited to 'gdk-pixbuf/io-pnm.c')
-rw-r--r-- | gdk-pixbuf/io-pnm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-pnm.c b/gdk-pixbuf/io-pnm.c index 5165a9e86..a987106ed 100644 --- a/gdk-pixbuf/io-pnm.c +++ b/gdk-pixbuf/io-pnm.c @@ -519,7 +519,7 @@ pnm_read_ascii_scanline (PnmLoaderContext *context) if (context->type == PNM_FORMAT_PBM) { *dptr++ = data; - context->output_col += 8; + context->output_col += numval; } else { context->output_col++; } |