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 Jul 25th, 2011  |  syntax: None  |  size: 0.71 KB  |  views: 85  |  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/main.c b/apps/main.c
  2. index 0b566b5..6d02adf 100644
  3. --- a/apps/main.c
  4. +++ b/apps/main.c
  5. @@ -156,6 +156,7 @@ int main(void)
  6.      CHART(">init");
  7.      init();
  8.      CHART("<init");
  9. +    push_current_activity(ACTIVITY_MAINMENU);
  10.      FOR_NB_SCREENS(i)
  11.      {
  12.          screens[i].clear_display();
  13. diff --git a/apps/root_menu.c b/apps/root_menu.c
  14. index 573ea94..028c7dd 100644
  15. --- a/apps/root_menu.c
  16. +++ b/apps/root_menu.c
  17. @@ -625,8 +625,6 @@ void root_menu(void)
  18.  {
  19.      int previous_browser = GO_TO_FILEBROWSER;
  20.      int selected = 0;
  21. -    
  22. -    push_current_activity(ACTIVITY_MAINMENU);
  23.  
  24.      if (global_settings.start_in_screen == 0)
  25.          next_screen = (int)global_status.last_screen;