summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/misc_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 14340e829..bcd152e82 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1958,13 +1958,11 @@ public:
uint diff = delta.x / 2;
this->widget[SLWW_SORT_BYNAME].right += diff;
this->widget[SLWW_SORT_BYDATE].left += diff;
- this->widget[SLWW_SORT_BYDATE].right += delta.x;
/* Same for widget 11 and 12 in save-dialog */
if (_saveload_mode == SLD_SAVE_GAME || _saveload_mode == SLD_SAVE_SCENARIO) {
this->widget[SLWW_DELETE_SELECTION].right += diff;
this->widget[SLWW_SAVE_GAME].left += diff;
- this->widget[SLWW_SAVE_GAME].right += delta.x;
}
this->vscroll.cap += delta.y / 10;