vbscript: Fix a typo in variable name in LBound().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
Nikolay Sivov 2022-11-22 19:15:54 +03:00 committed by Alexandre Julliard
parent b544bf188c
commit 9e5825ce81

View file

@ -1170,7 +1170,7 @@ static HRESULT Global_LBound(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt,
{
SAFEARRAY *sa;
HRESULT hres;
LONG ubound;
LONG lbound;
int dim;
assert(args_cnt == 1 || args_cnt == 2);
@ -1197,11 +1197,11 @@ static HRESULT Global_LBound(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt,
dim = 1;
}
hres = SafeArrayGetLBound(sa, dim, &ubound);
hres = SafeArrayGetLBound(sa, dim, &lbound);
if(FAILED(hres))
return hres;
return return_int(res, ubound);
return return_int(res, lbound);
}
static HRESULT Global_UBound(BuiltinDisp *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)