aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/saveload-dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/saveload-dialog.cpp b/gui/saveload-dialog.cpp
index 8537937c0f..1d8a9872aa 100644
--- a/gui/saveload-dialog.cpp
+++ b/gui/saveload-dialog.cpp
@@ -477,7 +477,7 @@ void LoadChooserThumbnailed::reflowLayout() {
const int16 defaultSpacingHorizontal = 4;
const int16 defaultSpacingVertical = 4;
const int16 slotAreaWidth = containerWidth + defaultSpacingHorizontal;
- const int16 slotAreaHeight = containerHeight + defaultSpacingHorizontal;
+ const int16 slotAreaHeight = containerHeight + defaultSpacingVertical;
const uint oldEntriesPerPage = _entriesPerPage;
_columns = MAX<uint>(1, availableWidth / slotAreaWidth);