Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 22nd, 2010  |  syntax: None  |  size: 0.57 KB  |  views: 131  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  }