mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 04:54:46 +00:00
vbscript: Fix a typo in variable name in LBound().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
b544bf188c
commit
9e5825ce81
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue