Mercurial > hg > openttd
changeset 12080:d3ee68d877e3 draft
(svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp)
author | alberth <alberth@openttd.org> |
---|---|
date | Sun, 31 May 2009 20:52:35 +0000 |
parents | 0f1b20a70f70 |
children | f617f25c0cc1 |
files | src/misc_gui.cpp |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1958,13 +1958,11 @@ 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;