aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_graphic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_generic_graphic.c')
-rw-r--r--drv_generic_graphic.c8
1 files changed, 4 insertions, 4 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;
}