Commit 52035af0 authored by Alexandre Julliard's avatar Alexandre Julliard

libwine: Ignore format modifiers 'h' and 'l' when formatting a string.

parent 0f6b925b
......@@ -324,6 +324,8 @@ static int format_string( WCHAR *buffer, size_t len, const char *format, const W
}
else max = strlenW(str);
if (*format == 'h' || *format == 'l') format++;
assert( *format == 's' );
if (!left_align && width > max)
......
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