oleaut32:VarCmp - Corrected function description

Benjamin Arai me at benjaminarai.com
Mon Jul 17 13:30:58 CDT 2006


Changelog:

The comment describing VarCmp did not list the three correct return 
values for VarCmp. VARCMP_GT was mislabeled in the description as
VARCMP_LT.

-------------- next part --------------
>From 75a981286e1350dfcc79a289e89bbbac9555177b Mon Sep 17 00:00:00 2001
From: Benjamin Arai <me at benjaminarai.com>
Date: Mon, 17 Jul 2006 09:55:01 -0700
Subject: [PATCH] oleaut32:VarCmp - Corrected function description

The comment describing VarCmp did not correctly describe the three return values
for VarCmp. VARCMP_GT was mislabeled in the description as VARCMP_LT.
---
 dlls/oleaut32/variant.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c
index 3080e53..2de8550 100644
--- a/dlls/oleaut32/variant.c
+++ b/dlls/oleaut32/variant.c
@@ -2615,7 +2615,7 @@ static HRESULT _VarChangeTypeExWrap (VAR
  * RETURNS
  *  VARCMP_LT:   left variant is less than right variant.
  *  VARCMP_EQ:   input variants are equal.
- *  VARCMP_LT:   left variant is greater than right variant.
+ *  VARCMP_GT:   left variant is greater than right variant.
  *  VARCMP_NULL: either one of the input variants is NULL.
  *  Failure:     An HRESULT error code indicating the error.
  *
-- 
1.4.0



More information about the wine-patches mailing list