Signed-off-by: Hugh McMaster hugh.mcmaster@outlook.com --- programs/conhost/window.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/programs/conhost/window.c b/programs/conhost/window.c index cb93ad257a4..d713a7f573b 100644 --- a/programs/conhost/window.c +++ b/programs/conhost/window.c @@ -238,7 +238,7 @@ static void load_config( const WCHAR *key_name, struct console_config *config )
HKEY key, app_key;
- TRACE("loading %s registry settings.\n", wine_dbgstr_w( key_name )); + TRACE( "Loading default console settings\n" );
memcpy( config->color_map, color_map, sizeof(color_map) ); memset( config->face_name, 0, sizeof(config->face_name) ); @@ -264,13 +264,15 @@ static void load_config( const WCHAR *key_name, struct console_config *config ) config->win_pos.Y = 0; config->edition_mode = 0;
- /* read global settings */ + /* load default console registry settings */ if (!RegOpenKeyExW( HKEY_CURRENT_USER, L"Console", 0, KEY_READ, &key )) { load_registry_key( key, config ); - /* if requested, load part related to console title */ + + /* load app-specific console registry settings (if any) */ if (key_name && !RegOpenKeyExW( key, key_name, 0, KEY_READ, &app_key )) { + TRACE( "Loading %s console settings\n", wine_dbgstr_w( key_name ) ); load_registry_key( app_key, config ); RegCloseKey( app_key ); }