summaryrefslogtreecommitdiff
path: root/widget.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-08-22 15:23:25 +0000
committerbelugas <belugas@openttd.org>2006-08-22 15:23:25 +0000
commit4c2abf1de53e28a5c3c6c6920efabc4653693c4c (patch)
tree9e31a242a7914da837b80e0913064ecc99b10e3b /widget.c
parent480af9c9171badb7db906d2cc05856f4c2d87b73 (diff)
downloadopenttd-4c2abf1de53e28a5c3c6c6920efabc4653693c4c.tar.xz
(svn r6046) CodeChange : Rename WWT_5 Widget type to WWT_LABEL : a centered label
CodeChange : Move almost all fixed strings from ON_PAINT event to Widget array using WWT_LABEL. Feature : All "Select Refit Cargo" are now centered, instead of been left aligned
Diffstat (limited to 'widget.c')
-rw-r--r--widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget.c b/widget.c
index 7b9bb9f92..24ca523cb 100644
--- a/widget.c
+++ b/widget.c
@@ -197,7 +197,7 @@ void DrawWindowWidgets(const Window *w)
}
/* fall through */
- case WWT_5: {
+ case WWT_LABEL: {
StringID str = wi->unkA;
if ((wi->type&WWT_MASK) == WWT_4 && clicked) str++;