summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-08-28 07:33:51 +0000
committertron <tron@openttd.org>2006-08-28 07:33:51 +0000
commit2eb76813edab81cbc3bcfbd10737979d7d5439f2 (patch)
tree7bdfd7c5d958ecb70ce91a2e6f5a707140d4f90d /main_gui.c
parent523519c8ec4db318d151051a9b6281767136f314 (diff)
downloadopenttd-2eb76813edab81cbc3bcfbd10737979d7d5439f2.tar.xz
(svn r6184) Remove the unused (because it was NULL in all callers) second parameter of FillDrawPixelInfo() and simplify some expressions
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 3f4c5f216..544a7a925 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -2110,7 +2110,7 @@ static bool DrawScrollingStatusText(const NewsItem *ni, int pos)
}
}
- if (!FillDrawPixelInfo(&tmp_dpi, NULL, 141, 1, 358, 11)) return true;
+ if (!FillDrawPixelInfo(&tmp_dpi, 141, 1, 358, 11)) return true;
old_dpi = _cur_dpi;
_cur_dpi = &tmp_dpi;