gui: Fix mis merge
* Fix up not loading directly
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
Change-Id: I5a39c5a93aaa8f32855799f84a748ef5554b2481
diff --git a/gui/pages.cpp b/gui/pages.cpp
index db5ea67..0dc80ad 100755
--- a/gui/pages.cpp
+++ b/gui/pages.cpp
@@ -1191,7 +1191,7 @@
size_t len;
char* buffer = NULL;
- if (package) {
+ if (!package) {
// We can try to load the XML directly...
LOGINFO("PageManager::LoadFileToBuffer loading filename: '%s' directly\n", filename.c_str());
struct stat st;