diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-06 18:03:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-06 20:52:08 +0300 |
commit | f0ae9007f666580259ca8c120f7aaee58a63f85a (patch) | |
tree | febc9da1d2ee1a5d3f85096727cd8c26d036ea5e /src/dropshortcut.cpp | |
parent | f7c9165e0f59a33404a486c0b154a2c21ed9a9fa (diff) | |
download | manaplus-f0ae9007f666580259ca8c120f7aaee58a63f85a.tar.gz manaplus-f0ae9007f666580259ca8c120f7aaee58a63f85a.tar.bz2 manaplus-f0ae9007f666580259ca8c120f7aaee58a63f85a.tar.xz manaplus-f0ae9007f666580259ca8c120f7aaee58a63f85a.zip |
Fix code style.
Diffstat (limited to 'src/dropshortcut.cpp')
-rw-r--r-- | src/dropshortcut.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dropshortcut.cpp b/src/dropshortcut.cpp index c3ba98a27..fc370d47f 100644 --- a/src/dropshortcut.cpp +++ b/src/dropshortcut.cpp @@ -63,9 +63,8 @@ void DropShortcut::load(bool oldConfig) for (int i = 0; i < DROP_SHORTCUT_ITEMS; i++) { - int itemId = static_cast<int>(cfg->getValue("drop" + toString(i), -1)); - int itemColor = static_cast<int>( - cfg->getValue("dropColor" + toString(i), -1)); + int itemId = cfg->getValue("drop" + toString(i), -1); + int itemColor = cfg->getValue("dropColor" + toString(i), -1); if (itemId != -1) { |