summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-10 07:38:03 +0000
committertron <tron@openttd.org>2005-09-10 07:38:03 +0000
commit0fe36a6900b135361a3f01b36a00d8ad6acac8bc (patch)
treed2a18359b544bdb53c4ea4482b8aa03f378c802a /misc_gui.c
parent04f051e423757c59af90b0727db6efdec3e18af5 (diff)
downloadopenttd-0fe36a6900b135361a3f01b36a00d8ad6acac8bc.tar.xz
(svn r2932) Give the strings consisting of an up/a down arrow symbolic names
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 71dc6ff1f..356e9cb7c 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -1246,7 +1246,7 @@ static void SaveLoadDlgWndProc(Window *w, WindowEvent *e)
}
GfxFillRect(w->widget[6].left + 1, w->widget[6].top + 1, w->widget[6].right, w->widget[6].bottom, 0xD7);
- DoDrawString(_savegame_sort_order & 1 ? "\xAA" : "\xA0", _savegame_sort_order <= 1 ? w->widget[3].right - 9 : w->widget[2].right - 9, 15, 0x10);
+ DoDrawString(_savegame_sort_order & 1 ? DOWNARROW : UPARROW, _savegame_sort_order <= 1 ? w->widget[3].right - 9 : w->widget[2].right - 9, 15, 0x10);
y = w->widget[6].top + 1;
pos = w->vscroll.pos;
@@ -1489,7 +1489,7 @@ static void SelectScenarioWndProc(Window *w, WindowEvent *e) {
SetVScrollCount(w, _fios_num);
DrawWindowWidgets(w);
- DoDrawString(_savegame_sort_order & 1 ? "\xAA" : "\xA0", _savegame_sort_order <= 1 ? w->widget[4].right - 9 : w->widget[3].right - 9, 15, 0x10);
+ DoDrawString(_savegame_sort_order & 1 ? DOWNARROW : UPARROW, _savegame_sort_order <= 1 ? w->widget[4].right - 9 : w->widget[3].right - 9, 15, 0x10);
DrawString(4, 32, STR_4010_GENERATE_RANDOM_NEW_GAME, 9);
y = list_start;