Vincent Povirk : ole32: Fix typo.
Alexandre Julliard
julliard at winehq.org
Tue Aug 28 14:44:39 CDT 2012
Module: wine
Branch: master
Commit: 284f3cc04746997727bee6e9c2aa7de76f1efecc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=284f3cc04746997727bee6e9c2aa7de76f1efecc
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Mon Aug 27 17:28:56 2012 -0500
ole32: Fix typo.
---
dlls/ole32/stg_prop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c
index d7d340f..98f562d 100644
--- a/dlls/ole32/stg_prop.c
+++ b/dlls/ole32/stg_prop.c
@@ -1093,7 +1093,7 @@ static HRESULT PropertyStorage_ReadProperty(PROPVARIANT *prop, const BYTE *data,
DWORD 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");
hr = STG_E_INVALIDHEADER;
More information about the wine-cvs
mailing list