From 6427aff94e1224c38050560b3cd3c2d8ab0a58d2 Mon Sep 17 00:00:00 2001 From: belugas Date: Mon, 16 Apr 2007 19:55:17 +0000 Subject: [PATCH] (svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx. I guess i'm a bit eager to have a writable array for newindustries ;) --- src/smallmap_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 243d3c911a..814c1066ac 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;