Dylan Smith : wordpad: Added a null terminator needed for a unicode string.
Alexandre Julliard
julliard at winehq.org
Wed May 28 04:56:57 CDT 2008
Module: wine
Branch: master
Commit: 76f2a0f33312c508b32794467c4c52f8aed34efa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=76f2a0f33312c508b32794467c4c52f8aed34efa
Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date: Tue May 27 16:40:13 2008 -0400
wordpad: Added a null terminator needed for a unicode string.
---
programs/wordpad/wordpad.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c
index 4fa8009..92255fd 100644
--- a/programs/wordpad/wordpad.c
+++ b/programs/wordpad/wordpad.c
@@ -1200,7 +1200,7 @@ static int current_units_to_twips(float number)
static void append_current_units(LPWSTR buffer)
{
- static const WCHAR space[] = {' '};
+ static const WCHAR space[] = {' ', 0};
lstrcatW(buffer, space);
lstrcatW(buffer, units_cmW);
}
More information about the wine-cvs
mailing list