summaryrefslogtreecommitdiff
path: root/apps/language.c
diff options
context:
space:
mode:
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;
}