summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-26 23:25:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-26 23:25:32 +0300
commit3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0 (patch)
treed7f1400583c5bc6916129e05fc5e0907d1081ca9 /src/gui/models
parent6112e911a5b702fa1a9fca7bb6300f0195cbe685 (diff)
downloadmanaplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.gz
manaplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.bz2
manaplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.tar.xz
manaplus-3ed2e647a7ec634a91a32e7ac493c9f2b6d693b0.zip
Fix code style.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/typelistmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/models/typelistmodel.h b/src/gui/models/typelistmodel.h
index bd27fce39..7a50c6905 100644
--- a/src/gui/models/typelistmodel.h
+++ b/src/gui/models/typelistmodel.h
@@ -60,13 +60,14 @@ class TypeListModel final : public ListModel
else if (elementIndex == 2)
return "eAthena";
#endif // EATHENA_SUPPORT
+ else
#else // TMWA_SUPPORT
#ifdef EATHENA_SUPPORT
if (elementIndex == 0)
return "eAthena";
+ else
#endif // EATHENA_SUPPORT
#endif // TMWA_SUPPORT
- else
return "Unknown";
}
};