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

This commit is contained in:
Alexandre Julliard 2009-01-05 11:58:38 +01:00
parent 0f6b925bdc
commit 52035af0e5
1 changed files with 2 additions and 0 deletions

View File

@ -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)