summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2012-12-10 20:18:59 +0100
committerGerrit Code Review <gerrit@5.9.244.119>2012-12-10 20:18:59 +0100
commit29af138023174b2ded48e1f4f5015d0baaa854a4 (patch)
tree9016aea7a468eaee419315ba77c4715768ffdb27
parentFix compiling for x86 targets (diff)
parentfix SP variable names (diff)
downloadandroid_bootable_recovery-29af138023174b2ded48e1f4f5015d0baaa854a4.tar
android_bootable_recovery-29af138023174b2ded48e1f4f5015d0baaa854a4.tar.gz
android_bootable_recovery-29af138023174b2ded48e1f4f5015d0baaa854a4.tar.bz2
android_bootable_recovery-29af138023174b2ded48e1f4f5015d0baaa854a4.tar.lz
android_bootable_recovery-29af138023174b2ded48e1f4f5015d0baaa854a4.tar.xz
android_bootable_recovery-29af138023174b2ded48e1f4f5015d0baaa854a4.tar.zst
android_bootable_recovery-29af138023174b2ded48e1f4f5015d0baaa854a4.zip
-rw-r--r--data.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/data.cpp b/data.cpp
index 88c064b08..e7dafa1fe 100644
--- a/data.cpp
+++ b/data.cpp
@@ -629,14 +629,14 @@ void DataManager::SetDefaultValues()
if (strlen(EXPAND(SP2_DISPLAY_NAME))) mConstValues.insert(make_pair(TW_SP2_PARTITION_NAME_VAR, EXPAND(SP2_DISPLAY_NAME)));
#else
#ifdef SP2_NAME
- if (strlen(EXPAND(SP2_NAME))) mConstValues.insert(make_pair(TW_SP1_PARTITION_NAME_VAR, EXPAND(SP2_NAME)));
+ if (strlen(EXPAND(SP2_NAME))) mConstValues.insert(make_pair(TW_SP2_PARTITION_NAME_VAR, EXPAND(SP2_NAME)));
#endif
#endif
#ifdef SP3_DISPLAY_NAME
if (strlen(EXPAND(SP3_DISPLAY_NAME))) mConstValues.insert(make_pair(TW_SP3_PARTITION_NAME_VAR, EXPAND(SP3_DISPLAY_NAME)));
#else
#ifdef SP3_NAME
- if (strlen(EXPAND(SP3_NAME))) mConstValues.insert(make_pair(TW_SP1_PARTITION_NAME_VAR, EXPAND(SP3_NAME)));
+ if (strlen(EXPAND(SP3_NAME))) mConstValues.insert(make_pair(TW_SP3_PARTITION_NAME_VAR, EXPAND(SP3_NAME)));
#endif
#endif