- moved the initial C_InitConsole call into D_DoomMain
The only difference here were the size values on Windows but for this initial call they have been useless for a long time. When this code was written the console buffer still had a fixed width that needed to be set before adding any text.
This commit is contained in:
parent
9f15efc5f5
commit
a1a73ef2b3
4 changed files with 3 additions and 6 deletions
|
|
@ -978,9 +978,7 @@ void DoMain (HINSTANCE hInstance)
|
|||
|
||||
CoInitialize (NULL);
|
||||
atexit (UnCOM);
|
||||
|
||||
C_InitConsole (((WinWidth / 8) + 2) * 8, (WinHeight / 12) * 8, false);
|
||||
|
||||
|
||||
I_DetectOS ();
|
||||
D_DoomMain ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue