summaryrefslogtreecommitdiff
path: root/src/gui/windows/shopwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-11-26 00:51:57 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-27 20:33:15 +0300
commit0c20db8d108c4123fcc3ecb343759e68567a4d4e (patch)
treef577edeae7b4866d68c084a1eaa229e98c80ea8f /src/gui/windows/shopwindow.cpp
parent2be4fc5b4eee97938657c9c8be73c4b91c8b9826 (diff)
downloadplus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.gz
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.bz2
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.tar.xz
plus-0c20db8d108c4123fcc3ecb343759e68567a4d4e.zip
Remove extra ; from different code.
Diffstat (limited to 'src/gui/windows/shopwindow.cpp')
-rw-r--r--src/gui/windows/shopwindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp
index 91c7063de..e0306503d 100644
--- a/src/gui/windows/shopwindow.cpp
+++ b/src/gui/windows/shopwindow.cpp
@@ -248,11 +248,11 @@ ShopWindow::~ShopWindow()
{
saveList();
- delete2(mBuyShopItemList);
- delete2(mSellShopItemList);
- delete2(mBuyShopItems);
- delete2(mSellShopItems);
- delete2(mTradeItem);
+ delete2(mBuyShopItemList)
+ delete2(mSellShopItemList)
+ delete2(mBuyShopItems)
+ delete2(mSellShopItems)
+ delete2(mTradeItem)
instances.remove(this);
}
@@ -560,7 +560,7 @@ void ShopWindow::loadList()
if (!shopFile.is_open())
{
reportAlways("Error opening file for reading: %s",
- shopListName.c_str());
+ shopListName.c_str())
shopFile.close();
return;
}
@@ -616,7 +616,7 @@ void ShopWindow::saveList() const
if (!shopFile.is_open())
{
reportAlways("Error opening file writing: %s",
- shopListName.c_str());
+ shopListName.c_str())
return;
}