summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-04-16 19:55:17 +0000
committerbelugas <belugas@openttd.org>2007-04-16 19:55:17 +0000
commit44143b8cdbd9ae63dfec82db841c66179f39bf50 (patch)
tree7405418fdb86f3d5cecff0d289c1ee98dc92a499 /src
parenta5bd48b23d0e5314ec3b0ef91109d4e9092c6835 (diff)
downloadopenttd-44143b8cdbd9ae63dfec82db841c66179f39bf50.tar.xz
(svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.
I guess i'm a bit eager to have a writable array for newindustries ;)
Diffstat (limited to 'src')
-rw-r--r--src/smallmap_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index 243d3c911..814c1066a 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -792,7 +792,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e)
{
switch (e->event) {
case WE_PAINT: {
- LegendAndColour *tbl;
+ const LegendAndColour *tbl;
int x, y, y_org;
DrawPixelInfo new_dpi;