mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Change default console title
This commit is contained in:
parent
66ec11079e
commit
fd01962aa0
@ -75,19 +75,7 @@ void Console_Init()
|
||||
}
|
||||
|
||||
//-- Set the window title
|
||||
FILE* sBuildTxt;
|
||||
CHAR sBuildBuf[1024] = { 0 };
|
||||
|
||||
fopen_s(&sBuildTxt, "build.txt", "r");
|
||||
|
||||
if (sBuildTxt)
|
||||
{
|
||||
while (fgets(sBuildBuf, sizeof(sBuildBuf), sBuildTxt) != NULL)
|
||||
{
|
||||
fclose(sBuildTxt);
|
||||
}
|
||||
}
|
||||
SetConsoleTitleA(sBuildBuf);
|
||||
SetConsoleTitleA("R5");
|
||||
|
||||
//-- Open input/output streams
|
||||
FILE* fDummy;
|
||||
|
Loading…
x
Reference in New Issue
Block a user