Commit 9e74a249 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winedump: Handle NULL in get_unicode_str.

parent d7541508
......@@ -202,6 +202,7 @@ const char *get_unicode_str( const WCHAR *str, int len )
char *buffer;
int i = 0;
if (!str) return "(null)";
if (len == -1) len = strlenW( str );
buffer = dump_want_n( len * 6 + 3);
buffer[i++] = '"';
......
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