summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/minimap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 578e2ce6..6fbcd5da 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -57,9 +57,9 @@ void Minimap::setMapImage(Image *img)
mMapImage->setAlpha(0.7);
setDefaultSize(offsetX, offsetY,
mMapImage->getWidth() < (100 + offsetX) ?
- mMapImage->getWidth() : (100 + offsetX),
+ mMapImage->getWidth() + offsetX : (100 + offsetX),
mMapImage->getHeight() < (100 + offsetY) ?
- mMapImage->getHeight() : (100 + offsetY));
+ mMapImage->getHeight() + offsetY : (100 + offsetY));
loadWindowState();
}
else