diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-14 21:21:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-14 21:21:57 +0300 |
commit | bcf7e61d6dd87164d79a211cbda1378e1ddc77bd (patch) | |
tree | 40ca82a55dfd04015ddc8134c4e5f97fa98b31c1 /src/gui | |
parent | d5893e9326a529bcba55185024a9373a8d4096ba (diff) | |
download | manaverse-bcf7e61d6dd87164d79a211cbda1378e1ddc77bd.tar.gz manaverse-bcf7e61d6dd87164d79a211cbda1378e1ddc77bd.tar.bz2 manaverse-bcf7e61d6dd87164d79a211cbda1378e1ddc77bd.tar.xz manaverse-bcf7e61d6dd87164d79a211cbda1378e1ddc77bd.zip |
Fix code style.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp index fbd92f931..cb3ace0c7 100644 --- a/src/gui/equipmentwindow.cpp +++ b/src/gui/equipmentwindow.cpp @@ -187,13 +187,10 @@ void EquipmentWindow::draw(gcn::Graphics *graphics) } } } - else + else if (box->image) { - if (box->image) - { - g->drawImage(box->image, box->x + BOX_X_PAD, - box->y + BOX_Y_PAD); - } + g->drawImage(box->image, box->x + BOX_X_PAD, + box->y + BOX_Y_PAD); } } } |