ole32: Fix typo.

This commit is contained in:
Vincent Povirk 2012-08-27 17:28:56 -05:00 committed by Alexandre Julliard
parent 0a5086ab64
commit 284f3cc047
1 changed files with 1 additions and 1 deletions

View File

@ -1093,7 +1093,7 @@ static HRESULT PropertyStorage_ReadProperty(PROPVARIANT *prop, const BYTE *data,
DWORD count; DWORD count;
StorageUtl_ReadDWord(data, 0, &count); StorageUtl_ReadDWord(data, 0, &count);
if (codepage == CP_UNICODE && count / 2) if (codepage == CP_UNICODE && count % 2)
{ {
WARN("Unicode string has odd number of bytes\n"); WARN("Unicode string has odd number of bytes\n");
hr = STG_E_INVALIDHEADER; hr = STG_E_INVALIDHEADER;