Changeset 639


Ignore:
Timestamp:
Mar 16, 2006, 8:10:12 PM (14 years ago)
Author:
Sam Hocevar
Message:

_
',_`""\ .---,

\ :-""/` |

Ahaha mais vieux porc !! ;' //\ /

/ | ('.

|_ ./O)\ \ `) \

_/-. " |

.-=; ` /

/o o \ ,_, .
L._._;_.-' .

'-. '

`. '

'-._. -'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/export_ps.c

    r635 r639  
    3131
    3232static char const *ps_header =
    33     //"%!PS-Adobe-2.0\n"
    3433    "%!\n"
    3534    "%% libcaca PDF export\n"
     
    103102    for(y = qq->height; y--; )
    104103    {
    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;
    107106
    108107        for(x = 0; x < qq->width; x++)
Note: See TracChangeset for help on using the changeset viewer.