Module: wine Branch: master Commit: 76f2a0f33312c508b32794467c4c52f8aed34efa URL: http://source.winehq.org/git/wine.git/?a=commit;h=76f2a0f33312c508b32794467c...
Author: Dylan Smith dylan.ah.smith@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); }