~ubuntu-branches/ubuntu/gutsy/foo2zjs/gutsy-updates

« back to all changes in this revision

Viewing changes to foo2hp.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-06-25 17:25:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070625172517-hfgsrqo8mmvtylad
Tags: 20070625-0ubuntu1
* New upstream release
  - Added support for Samsung CLP-300, CLP-600, CLX-3160, Xerox Phaser
    6110, 6115MFP, Konica Minolta magicolor 2480, 2490, 2530.
  - Bug fixes.
  debian/patches/10-makefile.dpatch: Regenerated to adapt to new foo2zjs
  version.
* Do not fail if building of manual.pdf fails. This file is not important
  and should not hold back releases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
*/
43
43
 
44
 
static char Version[] = "$Id: foo2hp.c,v 1.36 2006/12/07 13:24:30 rick Exp $";
 
44
static char Version[] = "$Id: foo2hp.c,v 1.37 2007/02/23 12:11:06 rick Exp $";
45
45
 
46
46
#include <stdio.h>
47
47
#include <stdlib.h>
1004
1004
                error(1, "Premature EOF(2) on input at y=%d\n", y);
1005
1005
        }
1006
1006
 
1007
 
        memset(rowp, 0, bpl16);
 
1007
        if (bpl != bpl16)
 
1008
            memset(rowp, 0, bpl16);
1008
1009
        rc = fread(rowp, bpl, 1, ifp);
1009
1010
        if (rc == 0 && y == 0 && !UpperLeftY && !UpperLeftX)
1010
1011
            goto eof;