SHARE
TWEET

Untitled

a guest Jun 22nd, 2010 131 Never
  1. diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c
  2. index 901615d..40ade14 100644
  3. --- a/apps/gui/statusbar.c
  4. +++ b/apps/gui/statusbar.c
  5. @@ -829,8 +829,10 @@ void gui_syncstatusbar_draw(struct gui_syncstatusbar * bars,
  6.         return;
  7.  #endif /* HAVE_LCD_BITMAP */
  8.      int i;
  9. +    struct viewport viewport;
  10.      FOR_NB_SCREENS(i) {
  11. -        gui_statusbar_draw( &(bars->statusbars[i]), force_redraw, NULL );
  12. +        GET_RECT(viewport,statusbar_position(display->screen_type),i);
  13. +        gui_statusbar_draw( &(bars->statusbars[i]), force_redraw, &viewport );
  14.      }
  15.  }
RAW Paste Data
Top