From 81306cf16bd4660b868f24a74b1e731c8a00af95 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 15 Jan 2012 23:56:26 +0100 Subject: 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 --- src/configuration.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/configuration.cpp') 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; } -- cgit v1.2.3-60-g2f50