Vincent Povirk : winex11.drv: Fix string format warning.
Alexandre Julliard
julliard at winehq.org
Fri Dec 5 07:42:51 CST 2008
Module: wine
Branch: master
Commit: 75b53222422c71e80d916c4c4af243a2010f5768
URL: http://source.winehq.org/git/wine.git/?a=commit;h=75b53222422c71e80d916c4c4af243a2010f5768
Author: Vincent Povirk <madewokherd+d41d at gmail.com>
Date: Thu Dec 4 21:18:52 2008 -0600
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);
}
}
}
More information about the wine-cvs
mailing list