Francois Gouget : oleaut32: Use the CSTR_XXX macros instead of numeric literals.
Alexandre Julliard
julliard at winehq.org
Thu Jun 21 15:03:39 CDT 2012
Module: wine
Branch: master
Commit: 4d22dc440b57d8b3183e23eb4e29129c76631e6a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d22dc440b57d8b3183e23eb4e29129c76631e6a
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Jun 20 23:41:13 2012 +0200
oleaut32: Use the CSTR_XXX macros instead of numeric literals.
---
dlls/oleaut32/vartype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c
index 9810d35..2d27f9d 100644
--- a/dlls/oleaut32/vartype.c
+++ b/dlls/oleaut32/vartype.c
@@ -7017,7 +7017,7 @@ HRESULT WINAPI VarBstrCmp(BSTR pbstrLeft, BSTR pbstrRight, LCID lcid, DWORD dwFl
}
hres = CompareStringW(lcid, dwFlags, pbstrLeft, lenLeft,
- pbstrRight, lenRight) - 1;
+ pbstrRight, lenRight) - CSTR_LESS_THAN;
TRACE("%d\n", hres);
return hres;
}
More information about the wine-cvs
mailing list