diff options
Diffstat (limited to '')
-rw-r--r-- | drv_generic_graphic.c | 8 | ||||
-rw-r--r-- | drv_generic_text.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drv_generic_graphic.c b/drv_generic_graphic.c index 037d878..b82de0f 100644 --- a/drv_generic_graphic.c +++ b/drv_generic_graphic.c @@ -344,7 +344,7 @@ int drv_generic_graphic_icon_draw(WIDGET * W) int layer, row, col; int x, y; int visible; - + layer = W->layer; row = YRES * W->row; col = XRES * W->col; @@ -363,7 +363,7 @@ int drv_generic_graphic_icon_draw(WIDGET * W) /* Icon visible? */ visible = P2N(&Icon->visible) > 0; - + /* render icon */ for (y = 0; y < YRES; y++) { int mask = 1 << XRES; @@ -380,10 +380,10 @@ int drv_generic_graphic_icon_draw(WIDGET * W) } } } - + /* flush area */ drv_generic_graphic_blit(row, col, YRES, XRES); - + return 0; } diff --git a/drv_generic_text.c b/drv_generic_text.c index 430137e..c918c1f 100644 --- a/drv_generic_text.c +++ b/drv_generic_text.c @@ -476,7 +476,7 @@ int drv_generic_text_icon_draw(WIDGET * W) /* Icon visible? */ visible = P2N(&Icon->visible) > 0; - + /* maybe redefine icon */ if (Icon->curmap != Icon->prvmap && visible) { Icon->prvmap = Icon->curmap; |