summaryrefslogtreecommitdiff
path: root/widget.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-22 06:39:32 +0000
committertron <tron@openttd.org>2005-10-22 06:39:32 +0000
commit2cc2154ad26b96b032df2f4fca0ce1634e6330b2 (patch)
tree646e010d91defd66326958b9e15c3eb36077760c /widget.c
parent01638700067b9720c187598ad6b4bf786e0e63c1 (diff)
downloadopenttd-2cc2154ad26b96b032df2f4fca0ce1634e6330b2.tar.xz
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
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 64a225440..d80137bfe 100644
--- a/widget.c
+++ b/widget.c
@@ -159,7 +159,7 @@ int GetWidgetFromPos(const Window *w, int x, int y)
void DrawWindowWidgets(const Window *w)
{
const Widget *wi;
- DrawPixelInfo *dpi = _cur_dpi;
+ const DrawPixelInfo* dpi = _cur_dpi;
Rect r;
uint32 cur_click, cur_disabled, cur_hidden;