include: Fix debugstr_fourcc printf format to print at most 4 chars.
This commit is contained in:
parent
ae976eec5e
commit
df75c9ed3c
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ static inline const char *wine_dbgstr_fourcc( unsigned int fourcc )
|
|||
if (!fourcc)
|
||||
return "''";
|
||||
if (isprint( str[0] ) && isprint( str[1] ) && isprint( str[2] ) && isprint( str[3] ))
|
||||
return wine_dbg_sprintf( "'%4s'", str );
|
||||
return wine_dbg_sprintf( "'%.4s'", str );
|
||||
return wine_dbg_sprintf( "0x%08x", fourcc );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue