Commit 76f2a0f3 authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

wordpad: Added a null terminator needed for a unicode string.

parent 4a9adfa0
...@@ -1200,7 +1200,7 @@ static int current_units_to_twips(float number) ...@@ -1200,7 +1200,7 @@ static int current_units_to_twips(float number)
static void append_current_units(LPWSTR buffer) static void append_current_units(LPWSTR buffer)
{ {
static const WCHAR space[] = {' '}; static const WCHAR space[] = {' ', 0};
lstrcatW(buffer, space); lstrcatW(buffer, space);
lstrcatW(buffer, units_cmW); lstrcatW(buffer, units_cmW);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment