From 44143b8cdbd9ae63dfec82db841c66179f39bf50 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;