summaryrefslogtreecommitdiffstats
path: root/apps/language.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/language.c')
-rw-r--r--apps/language.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/language.c b/apps/language.c
index 0c6245f08c..fad136e479 100644
--- a/apps/language.c
+++ b/apps/language.c
@@ -25,6 +25,7 @@
#include "lang.h"
#include "debug.h"
#include "string.h"
+#include "viewport.h"
/* The following header is generated by the build system and only defines
MAX_LANGUAGE_SIZE to be the size of the largest currently available
@@ -106,7 +107,15 @@ int lang_load(const char *filename)
retcode = 3;
}
close(fd);
- lang_options = (retcode ? 0 : lang_header[3]);
+ if (retcode)
+ {
+ lang_options = 0;
+ }
+ else
+ {
+ lang_options = lang_header[3];
+ viewportmanager_theme_changed(THEME_UI_VIEWPORT);
+ }
return retcode;
}