mirror of
https://github.com/rehlds/rehlds.git
synced 2025-07-21 20:56:39 +03:00
added "[ReHLDS %version%]" to win32 title
example: "[ReHLDS 3.15.0.784] Console"
This commit is contained in:
parent
ae2639d3df
commit
5887e77dc7
@ -84,7 +84,10 @@ bool CTextConsoleWin32::Init(IBaseSystem *system)
|
|||||||
if (!AllocConsole())
|
if (!AllocConsole())
|
||||||
m_System = system;
|
m_System = system;
|
||||||
|
|
||||||
SetTitle(m_System ? m_System->GetName() : "Console");
|
char buffer[256];
|
||||||
|
snprintf(buffer, sizeof(buffer), "[ReHLDS " APP_VERSION "] %s", m_System ? m_System->GetName() : "Console");
|
||||||
|
SetTitle(buffer);
|
||||||
|
//SetTitle(m_System ? m_System->GetName() : "Console");
|
||||||
|
|
||||||
hinput = GetStdHandle(STD_INPUT_HANDLE);
|
hinput = GetStdHandle(STD_INPUT_HANDLE);
|
||||||
houtput = GetStdHandle(STD_OUTPUT_HANDLE);
|
houtput = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user