(svn r2459) - Fix: windows title-bar did not correctly add date/revision for nightly build
This commit is contained in:
3
win32.c
3
win32.c
@@ -518,8 +518,7 @@ static void MakeWindow(bool full_screen)
|
|||||||
} else {
|
} else {
|
||||||
char Windowtitle[50] = "OpenTTD ";
|
char Windowtitle[50] = "OpenTTD ";
|
||||||
|
|
||||||
snprintf(Windowtitle, lengthof(Windowtitle), "OpenTTD %s",
|
strncat(Windowtitle, _openttd_revision, lengthof(Windowtitle));
|
||||||
_openttd_revision);
|
|
||||||
|
|
||||||
_wnd.main_wnd = CreateWindow("TTD", Windowtitle, style, x, y, w, h, 0, 0, _inst, 0);
|
_wnd.main_wnd = CreateWindow("TTD", Windowtitle, style, x, y, w, h, 0, 0, _inst, 0);
|
||||||
if (_wnd.main_wnd == NULL)
|
if (_wnd.main_wnd == NULL)
|
||||||
|
Reference in New Issue
Block a user