mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.
I guess i'm a bit eager to have a writable array for newindustries ;)
This commit is contained in:
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
Block a user