summaryrefslogtreecommitdiff
path: root/src/gui/outfitwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-04 16:27:43 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-04 16:27:43 +0200
commit47aa9bcf5eb537456abc393699c8fec07a4d5153 (patch)
tree453309d61789d8b27879abcc98c013cc7affd576 /src/gui/outfitwindow.cpp
parentc3669ceb38114c68a6de11de46b0d3fd3713db59 (diff)
downloadmanaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.gz
manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.bz2
manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.xz
manaplus-47aa9bcf5eb537456abc393699c8fec07a4d5153.zip
Fix code style.
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r--src/gui/outfitwindow.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp
index ea2b7980c..3550883ba 100644
--- a/src/gui/outfitwindow.cpp
+++ b/src/gui/outfitwindow.cpp
@@ -173,9 +173,14 @@ void OutfitWindow::save()
serverConfig.deleteKey("Outfit" + toString(o));
if (mItemsUnequip[o])
+ {
serverConfig.deleteKey("OutfitUnequip" + toString(o));
+ }
else
- serverConfig.setValue("OutfitUnequip" + toString(o), mItemsUnequip[o]);
+ {
+ serverConfig.setValue("OutfitUnequip" + toString(o),
+ mItemsUnequip[o]);
+ }
outfitStr = "";
}
serverConfig.setValue("OutfitAwayIndex", mAwayOutfit);