Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Stuff
Tuesday, July 3rd, 2007 at 8:38:17am UTC 

  1. Index: apps/root_menu.c
  2. ===================================================================
  3. --- apps/root_menu.c    (revision 13767)
  4. +++ apps/root_menu.c    (working copy)
  5. @@ -34,6 +34,7 @@
  6.  #include "power.h"
  7.  #include "talk.h"
  8.  #include "audio.h"
  9. +#include "hotswap.h"
  10.  
  11.  #if (LCD_DEPTH > 1) || (defined(HAVE_LCD_REMOTE) && (LCD_REMOTE_DEPTH > 1))
  12.  #include "backdrop.h"
  13. @@ -100,6 +101,12 @@
  14.              {
  15.                  strcpy(folder, wps_state.current_track_path);
  16.              }
  17. +#ifdef SANSA_E200 /* quick hack to stop crashing if you try entering
  18. +                     the browser from the menu when you were in the card
  19. +                     and it was removed */
  20. +            else if (strchr(last_folder, '<') && (card_detect() == false))
  21. +                strcpy(folder, "/");
  22. +#endif
  23.              else
  24.                  strcpy(folder, last_folder);
  25.          break;

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right