mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2459) - Fix: windows title-bar did not correctly add date/revision for nightly build
This commit is contained in:
parent
fc96e80688
commit
3042e945d3
3
win32.c
3
win32.c
@ -518,8 +518,7 @@ static void MakeWindow(bool full_screen)
|
||||
} else {
|
||||
char Windowtitle[50] = "OpenTTD ";
|
||||
|
||||
snprintf(Windowtitle, lengthof(Windowtitle), "OpenTTD %s",
|
||||
_openttd_revision);
|
||||
strncat(Windowtitle, _openttd_revision, lengthof(Windowtitle));
|
||||
|
||||
_wnd.main_wnd = CreateWindow("TTD", Windowtitle, style, x, y, w, h, 0, 0, _inst, 0);
|
||||
if (_wnd.main_wnd == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user