diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-06 01:30:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-06 13:08:48 +0300 |
commit | 7cc864e68935b035d69d68aba2f8ad38ce275d5a (patch) | |
tree | cb7718bab03b0249f3cf034c9490c8aa3c919fb7 /src/gui/widgets/shoplistbox.cpp | |
parent | 55cfc856a68604c93779ed8017f052b54b2e7c03 (diff) | |
download | manaplus-7cc864e68935b035d69d68aba2f8ad38ce275d5a.tar.gz manaplus-7cc864e68935b035d69d68aba2f8ad38ce275d5a.tar.bz2 manaplus-7cc864e68935b035d69d68aba2f8ad38ce275d5a.tar.xz manaplus-7cc864e68935b035d69d68aba2f8ad38ce275d5a.zip |
fix code style and some minor issues.
Diffstat (limited to 'src/gui/widgets/shoplistbox.cpp')
-rw-r--r-- | src/gui/widgets/shoplistbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp index 6516b056f..e6cbdae4e 100644 --- a/src/gui/widgets/shoplistbox.cpp +++ b/src/gui/widgets/shoplistbox.cpp @@ -145,7 +145,7 @@ void ShopListBox::draw(gcn::Graphics *gcnGraphics) width, mRowHeight)); } - if (mShopItems) + if (mShopItems && item) { Image *const icon = item->getImage(); if (icon) |