Francois Gouget : conhost: Add a trailing linefeed to TRACE() and ERR() messages.

Alexandre Julliard julliard at winehq.org
Tue Mar 2 15:35:59 CST 2021


Module: wine
Branch: master
Commit: e0d1bec91617b43623b5f7715f1eebe4c310cb7e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e0d1bec91617b43623b5f7715f1eebe4c310cb7e

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Mar  2 20:14:34 2021 +0100

conhost: Add a trailing linefeed to TRACE() and ERR() messages.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/conhost/window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/conhost/window.c b/programs/conhost/window.c
index 01917ee8b67..a665cbb84d4 100644
--- a/programs/conhost/window.c
+++ b/programs/conhost/window.c
@@ -285,7 +285,7 @@ static void save_registry_key( HKEY key, const struct console_config *config )
     DWORD val, width, height, i;
     WCHAR color_name[13];
 
-    TRACE( "%s", debugstr_config( config ));
+    TRACE( "%s\n", debugstr_config( config ));
 
     for (i = 0; i < ARRAY_SIZE(config->color_map); i++)
     {
@@ -870,7 +870,7 @@ static void update_console_font( struct console *console, const WCHAR *font,
         EnumFontFamiliesW( console->window->mem_dc, NULL, get_first_font_enum, (LPARAM)&fc );
         if (fc.done) return;
     }
-    ERR( "Couldn't find a decent font" );
+    ERR( "Couldn't find a decent font\n" );
 }
 
 /* get a cell from a relative coordinate in window (takes into account the scrolling) */




More information about the wine-cvs mailing list