oleaut32: Use the CSTR_XXX macros instead of numeric literals.
Francois Gouget
fgouget at free.fr
Wed Jun 20 16:41:13 CDT 2012
---
dlls/oleaut32/vartype.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
1.7.10
More information about the wine-patches
mailing list