Change default console title

This commit is contained in:
Kawe Mazidjatari 2022-03-26 01:23:06 +01:00
parent 66ec11079e
commit fd01962aa0

View File

@ -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;