Commit 7077c5bc authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

conhost: Only update font when running with a window.

parent 687c4f5c
......@@ -932,6 +932,8 @@ void update_console_font( struct console *console, const WCHAR *face_name, size_
{
LOGFONTW lf;
if (!console->window) return;
fill_logfont( &lf, face_name, face_name_size, height, weight );
set_console_font( console, &lf );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment