summaryrefslogtreecommitdiffstats
path: root/gui/pages.cpp
diff options
context:
space:
mode:
authorthat <github@that.at>2017-02-23 23:08:56 +0100
committerDees Troy <dees_troy@teamw.in>2017-03-01 22:38:25 +0100
commita9dd9f03743cb0b1f8694fabffe7a490b337c11e (patch)
treeca2e0b31481ea827abfb47395cadb1f344871859 /gui/pages.cpp
parentMerge "twrpDigest: don't crash when zip.md5 file is empty" into android-7.1 (diff)
downloadandroid_bootable_recovery-a9dd9f03743cb0b1f8694fabffe7a490b337c11e.tar
android_bootable_recovery-a9dd9f03743cb0b1f8694fabffe7a490b337c11e.tar.gz
android_bootable_recovery-a9dd9f03743cb0b1f8694fabffe7a490b337c11e.tar.bz2
android_bootable_recovery-a9dd9f03743cb0b1f8694fabffe7a490b337c11e.tar.lz
android_bootable_recovery-a9dd9f03743cb0b1f8694fabffe7a490b337c11e.tar.xz
android_bootable_recovery-a9dd9f03743cb0b1f8694fabffe7a490b337c11e.tar.zst
android_bootable_recovery-a9dd9f03743cb0b1f8694fabffe7a490b337c11e.zip
Diffstat (limited to 'gui/pages.cpp')
-rw-r--r--gui/pages.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/gui/pages.cpp b/gui/pages.cpp
index b2a978f4d..bf6c6921c 100644
--- a/gui/pages.cpp
+++ b/gui/pages.cpp
@@ -58,11 +58,6 @@ extern "C" {
extern int gGuiRunning;
-// From console.cpp
-extern size_t last_message_count;
-extern std::vector<std::string> gConsole;
-extern std::vector<std::string> gConsoleColor;
-
std::map<std::string, PageSet*> PageManager::mPageSets;
PageSet* PageManager::mCurrentSet;
MouseCursor *PageManager::mMouseCursor = NULL;
@@ -1541,9 +1536,7 @@ int PageManager::RunReload() {
}
// This makes the console re-translate
- last_message_count = 0;
- gConsole.clear();
- gConsoleColor.clear();
+ GUIConsole::Clear_For_Retranslation();
return ret_val;
}