summaryrefslogtreecommitdiffstats
path: root/apps/language.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:15:22 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-11 20:15:22 +0000
commitd5b076b64a8a3abd55fca0e9db7b13c6024bdfa3 (patch)
tree59ceb57c1f2633b8fd8f6458463499bc776a7930 /apps/language.c
parent891c446302d341d2e8f6f2da54343589bf46d0e4 (diff)
downloadrockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.tar.gz
rockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.tar.bz2
rockbox-d5b076b64a8a3abd55fca0e9db7b13c6024bdfa3.zip
RTL: Cosmetic changes, no functional change - Rename constants
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23117 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/language.c')
-rw-r--r--apps/language.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/language.c b/apps/language.c
index fef8cd0a04..cdcfbe19b2 100644
--- a/apps/language.c
+++ b/apps/language.c
@@ -109,14 +109,7 @@ int lang_load(const char *filename)
retcode = 3;
}
close(fd);
- if (retcode)
- {
- lang_options = 0;
- }
- else
- {
- lang_options = lang_header[3];
- }
+ lang_options = retcode ? 0 : lang_header[3];
return retcode;
}