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
commit6427aff94e1224c38050560b3cd3c2d8ab0a58d2 (patch)
tree7405418fdb86f3d5cecff0d289c1ee98dc92a499 /src
parent5c4700599e94f41b0ff8499f9ae2eb9fadb223b3 (diff)
downloadopenttd-6427aff94e1224c38050560b3cd3c2d8ab0a58d2.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;