Codechange: unify the formatting of the game's caption
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#include "../openttd.h"
|
||||
#include "../error_func.h"
|
||||
#include "../gfx_func.h"
|
||||
#include "../rev.h"
|
||||
#include "../blitter/factory.hpp"
|
||||
#include "../core/random_func.hpp"
|
||||
#include "../core/math_func.hpp"
|
||||
@@ -216,9 +215,8 @@ static bool CreateMainSurface(uint w, uint h)
|
||||
|
||||
InitPalette();
|
||||
|
||||
char caption[32];
|
||||
seprintf(caption, lastof(caption), "OpenTTD %s", _openttd_revision);
|
||||
set_window_title(caption);
|
||||
std::string caption = VideoDriver::GetCaption();
|
||||
set_window_title(caption.c_str());
|
||||
|
||||
enable_hardware_cursor();
|
||||
select_mouse_cursor(MOUSE_CURSOR_ARROW);
|
||||
|
||||
Reference in New Issue
Block a user