Francois Gouget : oleaut32: Use the CSTR_XXX macros instead of numeric literals.
Module: wine Branch: master Commit: 4d22dc440b57d8b3183e23eb4e29129c76631e6a URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d22dc440b57d8b3183e23eb4e... Author: Francois Gouget <fgouget(a)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; }
participants (1)
-
Alexandre Julliard