diff options
author | tron <tron@openttd.org> | 2006-08-28 07:33:51 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-08-28 07:33:51 +0000 |
commit | 2eb76813edab81cbc3bcfbd10737979d7d5439f2 (patch) | |
tree | 7bdfd7c5d958ecb70ce91a2e6f5a707140d4f90d /smallmap_gui.c | |
parent | 523519c8ec4db318d151051a9b6281767136f314 (diff) | |
download | openttd-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 'smallmap_gui.c')
-rw-r--r-- | smallmap_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smallmap_gui.c b/smallmap_gui.c index 452183c97..d08e6f07b 100644 --- a/smallmap_gui.c +++ b/smallmap_gui.c @@ -836,7 +836,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e) } } - if (!FillDrawPixelInfo(&new_dpi, NULL, 3, 17, w->width - 28 + 22, w->height - 64 - 11)) + if (!FillDrawPixelInfo(&new_dpi, 3, 17, w->width - 28 + 22, w->height - 64 - 11)) return; DrawSmallMap(&new_dpi, w, _smallmap_type, _smallmap_show_towns); |