diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2006-10-11 09:12:23 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2006-10-11 09:12:23 +0000 |
commit | 84a2bdfe86b58691068661996c8db40e235d172f (patch) | |
tree | 770b3f18df1de71b39c38722a797b100bc8b8976 /apps | |
parent | ec79219f012ba64617510ac7ba822d1b8b0f0c26 (diff) |
Oops. Stupid editor shouldn't insert tabs :(
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11185 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/settings.c b/apps/settings.c index da7ecb461d..196c432c8f 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -1561,19 +1561,19 @@ bool settings_load_config(const char* file) #ifdef HAVE_LCD_COLOR unload_wps_backdrop(); #endif - int fd2; + int fd2; if ((fd2 = open(value, O_RDONLY)) >= 0) { - close(fd2); + close(fd2); set_file(value, (char *)global_settings.wps_file, MAX_FILENAME); - } + } } #if defined(HAVE_REMOTE_LCD) && (NB_SCREENS > 1) else if (!strcasecmp(name, "rwps")) { - int fd2; + int fd2; if ((fd2 = open(value, O_RDONLY)) >= 0) { - close(fd2); + close(fd2); set_file(value, (char *)global_settings.rwps_file, MAX_FILENAME); - } + } } #endif else if (!strcasecmp(name, "lang")) { |