diff options
author | rubidium <rubidium@openttd.org> | 2009-11-09 17:20:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-09 17:20:48 +0000 |
commit | cbeba59fc2f7269ad3e8f325fc2624ac6013b654 (patch) | |
tree | d4e652115b1f8c0542332d2325f0c0b858f767a7 /src/toolbar_gui.cpp | |
parent | a84921f8f5e1d94e5a49588b1bf974dfbc2adc14 (diff) | |
download | openttd-cbeba59fc2f7269ad3e8f325fc2624ac6013b654.tar.xz |
(svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index d087806da..224edafb3 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -1452,7 +1452,7 @@ public: case TBSE_DATEPANEL: SetDParam(0, ConvertYMDToDate(MAX_YEAR, 0, 1)); *size = GetStringBoundingBox(STR_WHITE_DATE_LONG); - size->height = max(size->height, GetSpriteSize(SPR_IMG_SAVE).height + WD_IMGBTN2_TOP + WD_IMGBTN2_BOTTOM); + size->height = max(size->height, GetSpriteSize(SPR_IMG_SAVE).height + WD_IMGBTN_TOP + WD_IMGBTN_BOTTOM); break; } } |