summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-03-31 15:10:37 +0200
committerEthan Yonker <dees_troy@teamw.in>2016-03-31 15:10:40 +0200
commit4f74d14f8c4c6bda17fc759cd0c051bad8e6abd5 (patch)
tree206fd84609d3f9760c2bf9ae2682c97c3535af3f
parentStop trying to load /script/ui.xml (diff)
downloadandroid_bootable_recovery-4f74d14f8c4c6bda17fc759cd0c051bad8e6abd5.tar
android_bootable_recovery-4f74d14f8c4c6bda17fc759cd0c051bad8e6abd5.tar.gz
android_bootable_recovery-4f74d14f8c4c6bda17fc759cd0c051bad8e6abd5.tar.bz2
android_bootable_recovery-4f74d14f8c4c6bda17fc759cd0c051bad8e6abd5.tar.lz
android_bootable_recovery-4f74d14f8c4c6bda17fc759cd0c051bad8e6abd5.tar.xz
android_bootable_recovery-4f74d14f8c4c6bda17fc759cd0c051bad8e6abd5.tar.zst
android_bootable_recovery-4f74d14f8c4c6bda17fc759cd0c051bad8e6abd5.zip
-rw-r--r--gui/pages.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/pages.cpp b/gui/pages.cpp
index da94527c3..115d6b35d 100644
--- a/gui/pages.cpp
+++ b/gui/pages.cpp
@@ -1339,8 +1339,10 @@ int PageManager::LoadPackage(std::string name, std::string package, std::string
LOGINFO("Load XML directly\n");
tw_x_offset = TW_X_OFFSET;
tw_y_offset = TW_Y_OFFSET;
- LoadLanguageList(NULL);
- languageFile = LoadFileToBuffer(TWRES "languages/en.xml", NULL);
+ if (name != "splash") {
+ LoadLanguageList(NULL);
+ languageFile = LoadFileToBuffer(TWRES "languages/en.xml", NULL);
+ }
ctx.basepath = TWRES;
}
else