diff options
| author | Manolo Gouy <Manolo> | 2010-09-04 12:49:35 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-09-04 12:49:35 +0000 |
| commit | 3b3197a86ad6f0b7de7f8fd047b847a0e5641815 (patch) | |
| tree | 0cb9bc176e5e757e48d5511ab16b63c7eff57259 /src/ps_image.cxx | |
| parent | 0dc7b5edc58def3839f05e8692f060aa47b18e2c (diff) | |
Simpler PostScript output of Fl_Bitmap objects
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/ps_image.cxx')
| -rw-r--r-- | src/ps_image.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ps_image.cxx b/src/ps_image.cxx index e60797764..1bad4375b 100644 --- a/src/ps_image.cxx +++ b/src/ps_image.cxx @@ -517,7 +517,7 @@ void Fl_PostScript_Graphics_Driver::draw(Fl_Bitmap * bitmap,int XP, int YP, int for (j=0; j<HP; j++){ for (i=0; i<xx; i++){ if (!(i%80)) fprintf(output, "\n"); // not have lines longer than 255 chars - fprintf(output, "%.2x",swap_byte(~(*di))); + fprintf(output, "%.2x", swap_byte(*di) ); di++; } fprintf(output,"\n"); |
