diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-15 23:56:26 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-01-16 19:42:45 +0100 |
commit | 81306cf16bd4660b868f24a74b1e731c8a00af95 (patch) | |
tree | db3c905969884600792055d330851561bcf17384 /src/configuration.cpp | |
parent | bdb66839ca480fdfa51a7253fb8f95c3657381c1 (diff) | |
download | mana-81306cf16bd4660b868f24a74b1e731c8a00af95.tar.gz mana-81306cf16bd4660b868f24a74b1e731c8a00af95.tar.bz2 mana-81306cf16bd4660b868f24a74b1e731c8a00af95.tar.xz mana-81306cf16bd4660b868f24a74b1e731c8a00af95.zip |
Renamed some file names for consistency with the class names
This was already done by ManaPlus. It's a good idea anyway and it makes
comparing the code a little easier.
Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index 44621eb3..848c8cc9 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -105,10 +105,8 @@ void Configuration::cleanDefaults() for (DefaultsData::const_iterator iter = mDefaultsData->begin(); iter != mDefaultsData->end(); iter++) { - if (iter->second) - delete(iter->second); + delete iter->second; } - mDefaultsData->clear(); delete mDefaultsData; mDefaultsData = 0; } |