File diff r26193:4bc7915a2156 → r26194:f7347205838e
src/video/win32_v.cpp
Show inline comments
 
@@ -212,7 +212,7 @@ bool VideoDriver_Win32Base::MakeWindow(b
 
			int y = (GetSystemMetrics(SM_CYSCREEN) - h) / 2;
 

	
 
			char window_title[64];
 
			seprintf(window_title, lastof(window_title), "OpenTTD %s", _openttd_revision);
 
			seprintf(window_title, lastof(window_title), "OpenTTD");
 

	
 
			this->main_wnd = CreateWindow(L"OTTD", OTTD2FS(window_title).c_str(), style, x, y, w, h, 0, 0, GetModuleHandle(nullptr), this);
 
			if (this->main_wnd == nullptr) usererror("CreateWindow failed");