mirror of https://github.com/OpenTTD/OpenTTD
(svn r768) In the NewGRF manager, show GRF ids as 8-digit hex numbers (that's how they are supposed to look).
parent
3ee0dee12a
commit
bf587e9aac
|
@ -982,8 +982,8 @@ static void NewgrfWndProc(Window *w, WindowEvent *e)
|
||||||
|
|
||||||
// draw grf id
|
// draw grf id
|
||||||
x = DrawString(5, 209, STR_NEWGRF_GRF_ID, 0);
|
x = DrawString(5, 209, STR_NEWGRF_GRF_ID, 0);
|
||||||
SET_DPARAM16(0, _sel_grffile->grfid);
|
snprintf(_userstring, USERSTRING_LEN, "%08X", _sel_grffile->grfid);
|
||||||
DrawString(x + 2, 209, STR_7024, 0x01);
|
DrawString(x + 2, 209, STR_SPEC_USERSTRING, 0x01);
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue