gui: refresh the local bitmap instead of referencing the global symbol lcd_bitmap.
[bertos.git] / bertos / gui / menu.c
index c3fc3d2b916c365303f7326409731cbf8b5d13c3..86e8f17dd4453cfc4bd277f48b8c9190c6042454 100644 (file)
@@ -295,7 +295,7 @@ static void menu_layout(
                /* Clear rest of area */
                gfx_rectClear(bm, bm->cr.xmin, ypos, bm->cr.xmax, bm->cr.ymax);
 
-               lcd_blitBitmap(&lcd_bitmap);
+               lcd_blitBitmap(bm);
        }
 
        /* Restore old cliprect */