--- settings.c Sat Sep 21 22:23:33 2002 +++ settings.c.orig Fri Sep 20 19:22:28 2002 @@ -41,7 +41,6 @@ #ifdef HAVE_LCD_BITMAP #include "icons.h" #include "font.h" -#include "playlist.h" #endif #include "lang.h" @@ -545,8 +544,7 @@ syntax_error = true; } mpeg_sound_set(SOUND_SUPERBASS, global_settings.bass_boost); - } else - if (!strcasecmp(buf_set,"auto volume")) { + } else if (!strcasecmp(buf_set,"auto volume")) { global_settings.avc = atoi(buf_val); if (global_settings.avc > mpeg_sound_max(SOUND_AVC) || global_settings.avc < mpeg_sound_min(SOUND_AVC)) { @@ -554,16 +552,7 @@ syntax_error = true; } mpeg_sound_set(SOUND_AVC, global_settings.avc); - }else - if (!strcasecmp(buf_set,"shuffle")){ - if (buf_val[0] == '1'){ - global_settings.playlist_shuffle = 1; - randomise_playlist(current_tick); - } else - { - sort_playlist(true); - global_settings.playlist_shuffle = 0; - } + } if (syntax_error) { lcd_clear_display(); lcd_puts(0,1,"SyntaxError"); @@ -576,8 +565,7 @@ break; } break; - } - } + } } } close(fd);