Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 13th, 2010  |  syntax: None  |  size: 1.52 KB  |  views: 129  |  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. Index: apps/recorder/radio.c
  2. ===================================================================
  3. --- apps/recorder/radio.c       (revision 25980)
  4. +++ apps/recorder/radio.c       (working copy)
  5. @@ -715,8 +715,6 @@
  6.                                  radio_save_presets();
  7.                          }
  8.                      }
  9. -                    /* Clear the preset list on exit. */
  10. -                    clear_preset_list();
  11.                  }
  12.                  update_screen = true;
  13.                  break;
  14. @@ -771,9 +769,6 @@
  15.                      }
  16.                  }
  17.  
  18. -                /* Clear the preset list on exit. */
  19. -                clear_preset_list();
  20. -
  21.                  break;
  22.  
  23.              case ACTION_STD_PREV:
  24. @@ -1316,7 +1311,6 @@
  25.      /* The preset list will be cleared switch to Scan Mode. */
  26.      radio_mode = RADIO_SCAN_MODE;
  27.      curr_preset = -1;
  28. -
  29.      presets_changed = false; /* Don't ask to save when clearing the list. */
  30.  
  31.      return true;
  32. Index: apps/gui/skin_engine/skin_display.c
  33. ===================================================================
  34. --- apps/gui/skin_engine/skin_display.c (revision 25980)
  35. +++ apps/gui/skin_engine/skin_display.c (working copy)
  36. @@ -164,7 +164,7 @@
  37.          elapsed = id3->elapsed + state->ff_rewind_count;
  38.      }
  39.  #if CONFIG_TUNER
  40. -    else if (in_radio_screen())
  41. +    else if (in_radio_screen() || (get_radio_status() != FMRADIO_OFF))
  42.      {
  43.          int min = fm_region_data[global_settings.fm_region].freq_min;
  44.          elapsed = radio_current_frequency() - min;
clone this paste RAW Paste Data