(svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.
authorbelugas
Mon, 16 Apr 2007 19:55:17 +0000
changeset 6476 1667135677f7
parent 6475 b7dce828b7a1
child 6477 573b27af65be
(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
--- a/src/smallmap_gui.cpp	Mon Apr 16 19:44:22 2007 +0000
+++ b/src/smallmap_gui.cpp	Mon Apr 16 19:55:17 2007 +0000
@@ -792,7 +792,7 @@
 {
 	switch (e->event) {
 		case WE_PAINT: {
-			LegendAndColour *tbl;
+			const LegendAndColour *tbl;
 			int x, y, y_org;
 			DrawPixelInfo new_dpi;