Browse Source

* Ugly overflow bug in the rendering code.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
b40cfe1302
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cucul/font.c

+ 1
- 1
cucul/font.c View File

@@ -275,7 +275,7 @@ void cucul_render_canvas(cucul_t *qq, struct cucul_font *f,

for(i = 0; i < g->width; i++)
{
uint8_t *pixel = line + 4 * (startx + i);
uint8_t *pixel = line + 4 * i;
uint32_t p, q, t;

p = glyph[j * g->width + i];


Loading…
Cancel
Save