diff options
author | Matt Mower <mowerm@gmail.com> | 2014-04-16 20:43:36 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-06-04 16:13:37 +0200 |
commit | fb1c4ffaafae4843c7edb302351b7df48e02a990 (patch) | |
tree | 284a58b5a5b9d827e409bd169a06c2a146a662be /data.cpp | |
parent | Add options to repair or change file system (diff) | |
download | android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.gz android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.bz2 android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.lz android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.xz android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.tar.zst android_bootable_recovery-fb1c4ffaafae4843c7edb302351b7df48e02a990.zip |
Diffstat (limited to '')
-rw-r--r-- | data.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -999,7 +999,7 @@ int DataManager::GetMagicValue(const string varName, string& value) int tw_military_time; now = time(0); current = localtime(&now); - GetValue(TW_MILITARY_TIME, tw_military_time); + GetValue(TW_MILITARY_TIME, tw_military_time); if (current->tm_hour >= 12) { if (tw_military_time == 1) @@ -1009,7 +1009,7 @@ int DataManager::GetMagicValue(const string varName, string& value) } else { - if (tw_military_time == 1) + if (tw_military_time == 1) sprintf(tmp, "%d:%02d", current->tm_hour, current->tm_min); else sprintf(tmp, "%d:%02d AM", current->tm_hour == 0 ? 12 : current->tm_hour, current->tm_min); |