diff options
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r-- | src/gui/ministatus.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp index 51dbdebc..7083147a 100644 --- a/src/gui/ministatus.cpp +++ b/src/gui/ministatus.cpp @@ -82,8 +82,10 @@ void MiniStatusWindow::drawIcons(Graphics *graphics) { // Draw icons int icon_x = mXpBar->getX() + mXpBar->getWidth() + 4; - for (unsigned int i = 0; i < mIcons.size(); i++) { - if (mIcons[i]) { + for (unsigned int i = 0; i < mIcons.size(); i++) + { + if (mIcons[i]) + { mIcons[i]->draw(graphics, icon_x, 3); icon_x += 2 + mIcons[i]->getWidth(); } |