diff options
author | rubidium <rubidium@openttd.org> | 2009-07-23 19:31:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-23 19:31:50 +0000 |
commit | e9bc557b2a3c13ab8038d577c047813c691122dd (patch) | |
tree | 70792ef1ccec63af813dd750920ba9d86a0febd2 /src/widget.cpp | |
parent | 20c1e42be128c915087b0ecf081b3101bcec234e (diff) | |
download | openttd-e9bc557b2a3c13ab8038d577c047813c691122dd.tar.xz |
(svn r16930) -Codechange: more StringID name unification and grouping
Diffstat (limited to 'src/widget.cpp')
-rw-r--r-- | src/widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index 9e5c3b988..700d59ee9 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -552,12 +552,12 @@ static inline void DrawDropdown(const Rect &r, Colours colour, bool clicked, Str if (_dynlang.text_dir == TD_LTR) { DrawFrameRect(r.left, r.top, r.right - 12, r.bottom, colour, FR_NONE); DrawFrameRect(r.right - 11, r.top, r.right, r.bottom, colour, clicked ? FR_LOWERED : FR_NONE); - DrawString(r.right - (clicked ? 10 : 11), r.right, r.top + (clicked ? 2 : 1), STR_ARROW_DOWN, TC_BLACK, SA_CENTER); + DrawString(r.right - (clicked ? 10 : 11), r.right, r.top + (clicked ? 2 : 1), STR_BLACK_ARROW_DOWN, TC_FROMSTRING, SA_CENTER); if (str != STR_NULL) DrawString(r.left + WD_DROPDOWNTEXT_LEFT, r.right - WD_DROPDOWNTEXT_RIGHT, r.top + WD_DROPDOWNTEXT_TOP, str, TC_BLACK); } else { DrawFrameRect(r.left + 12, r.top, r.right, r.bottom, colour, FR_NONE); DrawFrameRect(r.left, r.top, r.left + 11, r.bottom, colour, clicked ? FR_LOWERED : FR_NONE); - DrawString(r.left + clicked, r.left + 11, r.top + (clicked ? 2 : 1), STR_ARROW_DOWN, TC_BLACK, SA_CENTER); + DrawString(r.left + clicked, r.left + 11, r.top + (clicked ? 2 : 1), STR_BLACK_ARROW_DOWN, TC_FROMSTRING, SA_CENTER); if (str != STR_NULL) DrawString(r.left + WD_DROPDOWNTEXT_RIGHT, r.right - WD_DROPDOWNTEXT_LEFT, r.top + WD_DROPDOWNTEXT_TOP, str, TC_BLACK); } } |