mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 16:39:20 +00:00
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 a new issue