Fixing clipping issue with gdispGDrawString()

release/v2.9
Joel Bodenmann 2017-05-24 10:52:44 +02:00
parent d581b08bcf
commit 64a8f8dde1
1 changed files with 1 additions and 1 deletions

View File

@ -3395,7 +3395,7 @@ void gdispGDrawBox(GDisplay *g, coord_t x, coord_t y, coord_t cx, coord_t cy, co
g->t.font = font;
g->t.clipx0 = x;
g->t.clipy0 = y;
g->t.clipx1 = 32768; //x + mf_get_string_width(font, str, 0, 0) + font->baseline_x;
g->t.clipx1 = 32767; //x + mf_get_string_width(font, str, 0, 0) + font->baseline_x;
g->t.clipy1 = y + font->height;
g->t.color = color;