|
|
|
@ -356,7 +356,7 @@ void Wcon_CreateConsole( void )
@@ -356,7 +356,7 @@ void Wcon_CreateConsole( void )
|
|
|
|
|
{ |
|
|
|
|
s_wcd.SysInputLineWndProc = (WNDPROC)SetWindowLong( s_wcd.hwndInputLine, GWL_WNDPROC, (long)Wcon_InputLineProc ); |
|
|
|
|
SendMessage( s_wcd.hwndInputLine, WM_SETFONT, ( WPARAM )s_wcd.hfBufferFont, 0 ); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// show console if needed
|
|
|
|
|
if( host.con_showalways ) |
|
|
|
@ -370,7 +370,7 @@ void Wcon_CreateConsole( void )
@@ -370,7 +370,7 @@ void Wcon_CreateConsole( void )
|
|
|
|
|
SetFocus( s_wcd.hWnd ); |
|
|
|
|
else SetFocus( s_wcd.hwndInputLine ); |
|
|
|
|
s_wcd.status = true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
else s_wcd.status = false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|