libwine: Ignore format modifiers 'h' and 'l' when formatting a string.
This commit is contained in:
parent
0f6b925bdc
commit
52035af0e5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue