aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android/main-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/main-common.c b/android/main-common.c
index 9cb97f8..b237116 100644
--- a/android/main-common.c
+++ b/android/main-common.c
@@ -446,9 +446,9 @@ FOUND_SKIN:
if (n == NULL) {
n = aconfig_find(root, "parts");
if (n != NULL) {
- n = aconfig_find(root, "device");
+ n = aconfig_find(n, "device");
if (n != NULL) {
- n = aconfig_find(root, "display");
+ n = aconfig_find(n, "display");
}
}
}