- Timestamp:
- Mar 16, 2006, 8:10:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cucul/export_ps.c
r635 r639 31 31 32 32 static char const *ps_header = 33 //"%!PS-Adobe-2.0\n"34 33 "%!\n" 35 34 "%% libcaca PDF export\n" … … 103 102 for(y = qq->height; y--; ) 104 103 { 105 uint8_t *lineattr = qq->attr + y* qq->width;106 uint32_t *linechar = qq->chars + y* qq->width;104 uint8_t *lineattr = qq->attr + (qq->height - y - 1) * qq->width; 105 uint32_t *linechar = qq->chars + (qq->height - y - 1) * qq->width; 107 106 108 107 for(x = 0; x < qq->width; x++)
Note: See TracChangeset
for help on using the changeset viewer.