mirror of https://github.com/OpenTTD/OpenTTD
(svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.
I guess i'm a bit eager to have a writable array for newindustries ;)release/0.6
parent
a5bd48b23d
commit
44143b8cdb
|
@ -792,7 +792,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e)
|
||||||
{
|
{
|
||||||
switch (e->event) {
|
switch (e->event) {
|
||||||
case WE_PAINT: {
|
case WE_PAINT: {
|
||||||
LegendAndColour *tbl;
|
const LegendAndColour *tbl;
|
||||||
int x, y, y_org;
|
int x, y, y_org;
|
||||||
DrawPixelInfo new_dpi;
|
DrawPixelInfo new_dpi;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue