summaryrefslogtreecommitdiffstats
path: root/gui/resources.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-04-02 22:22:16 +0200
committerDees_Troy <dees_troy@teamw.in>2013-04-04 20:57:34 +0200
commit2673cec07a4740f86438b50cfe1b70b258a9a8c8 (patch)
tree3133d98e33eba4fab9760f9a4a54aeac83107119 /gui/resources.cpp
parentAdd partition list GUI element (diff)
downloadandroid_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.gz
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.bz2
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.lz
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.xz
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.zst
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.zip
Diffstat (limited to 'gui/resources.cpp')
-rw-r--r--gui/resources.cpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/gui/resources.cpp b/gui/resources.cpp
index 2f2ea95b0..aaa153303 100644
--- a/gui/resources.cpp
+++ b/gui/resources.cpp
@@ -21,9 +21,8 @@
#include <iomanip>
extern "C" {
-#include "../common.h"
+#include "../twcommon.h"
#include "../minuitwrp/minui.h"
-#include "../recovery_ui.h"
}
#include "rapidxml.hpp"
@@ -207,9 +206,9 @@ ResourceManager::ResourceManager(xml_node<>* resList, ZipArchive* pZip)
if (!attr_name) {
std::string res_name = attr_name->value();
- LOGE("Resource (%s)-(%s) failed to load\n", type.c_str(), res_name.c_str());
+ LOGERR("Resource (%s)-(%s) failed to load\n", type.c_str(), res_name.c_str());
} else
- LOGE("Resource type (%s) failed to load\n", type.c_str());
+ LOGERR("Resource type (%s) failed to load\n", type.c_str());
delete res;
}
@@ -227,9 +226,9 @@ ResourceManager::ResourceManager(xml_node<>* resList, ZipArchive* pZip)
if (!attr_name) {
std::string res_name = attr_name->value();
- LOGE("Resource (%s)-(%s) failed to load\n", type.c_str(), res_name.c_str());
+ LOGERR("Resource (%s)-(%s) failed to load\n", type.c_str(), res_name.c_str());
} else
- LOGE("Resource type (%s) failed to load\n", type.c_str());
+ LOGERR("Resource type (%s) failed to load\n", type.c_str());
delete res;
}
@@ -247,9 +246,9 @@ ResourceManager::ResourceManager(xml_node<>* resList, ZipArchive* pZip)
if (!attr_name) {
std::string res_name = attr_name->value();
- LOGE("Resource (%s)-(%s) failed to load\n", type.c_str(), res_name.c_str());
+ LOGERR("Resource (%s)-(%s) failed to load\n", type.c_str(), res_name.c_str());
} else
- LOGE("Resource type (%s) failed to load\n", type.c_str());
+ LOGERR("Resource type (%s) failed to load\n", type.c_str());
delete res;
}
@@ -260,7 +259,7 @@ ResourceManager::ResourceManager(xml_node<>* resList, ZipArchive* pZip)
}
else
{
- LOGE("Resource type (%s) not supported.\n", type.c_str());
+ LOGERR("Resource type (%s) not supported.\n", type.c_str());
}
child = child->next_sibling("resource");