From 1cd9389a4155e74d90ba78b28346df67072e7d02 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Thu, 4 Dec 2008 21:18:52 -0600 Subject: [PATCH] winex11.drv: fix string format warning --- dlls/winex11.drv/xrender.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c index 08bb71f..3bad0a3 100644 --- a/dlls/winex11.drv/xrender.c +++ b/dlls/winex11.drv/xrender.c @@ -746,8 +746,7 @@ static BOOL UploadGlyph(X11DRV_PDEVICE *physDev, int glyph, AA_Type format) for(j = 0; j < pitch * 8; j++) { strcat(output, (line[j / 8] & (1 << (7 - (j % 8)))) ? "#" : " "); } - strcat(output, "\n"); - TRACE(output); + TRACE("%s\n", output); } } else { static const char blks[] = " .:;!o*#"; @@ -762,8 +761,7 @@ static BOOL UploadGlyph(X11DRV_PDEVICE *physDev, int glyph, AA_Type format) str[0] = blks[line[j] >> 5]; strcat(output, str); } - strcat(output, "\n"); - TRACE(output); + TRACE("%s\n", output); } } } -- 1.6.0.4