diff options
author | darkvater <darkvater@openttd.org> | 2005-01-03 17:55:25 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2005-01-03 17:55:25 +0000 |
commit | 83342a0bcbc236ce6fba85fa7491d6e5ce4c4ea8 (patch) | |
tree | 88d25155be98665463d272a4efc29f5fa525ebec /widget.c | |
parent | d02bdb07688a193face4c9c63d756035e7427b12 (diff) | |
download | openttd-83342a0bcbc236ce6fba85fa7491d6e5ce4c4ea8.tar.xz |
(svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)
-Copyright notice is now 2002-2005 for all languages
Diffstat (limited to 'widget.c')
-rw-r--r-- | widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -361,7 +361,7 @@ void DrawWindowWidgets(Window *w) case WWT_FRAME: { int c1,c2; - int x2 = 0; + int x2 = r.left; // by default the left side is the left side of the widget if (wi->unkA != 0) { x2 = DrawString(r.left+6, r.top, wi->unkA, 0); |