summaryrefslogtreecommitdiffstats
path: root/data.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2012-11-24 02:22:11 +0100
committerbigbiff bigbiff <bigbiff@teamw.in>2012-11-24 02:22:11 +0100
commit20ef6e35852184ed0fef8b3e5034584c8752a0b2 (patch)
tree29e9238652bfd2072c3028fd8698c9893fb02e5a /data.cpp
parentAdd 23x41 roboto font (diff)
downloadandroid_bootable_recovery-20ef6e35852184ed0fef8b3e5034584c8752a0b2.tar
android_bootable_recovery-20ef6e35852184ed0fef8b3e5034584c8752a0b2.tar.gz
android_bootable_recovery-20ef6e35852184ed0fef8b3e5034584c8752a0b2.tar.bz2
android_bootable_recovery-20ef6e35852184ed0fef8b3e5034584c8752a0b2.tar.lz
android_bootable_recovery-20ef6e35852184ed0fef8b3e5034584c8752a0b2.tar.xz
android_bootable_recovery-20ef6e35852184ed0fef8b3e5034584c8752a0b2.tar.zst
android_bootable_recovery-20ef6e35852184ed0fef8b3e5034584c8752a0b2.zip
Diffstat (limited to '')
-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