Module: wine Branch: master Commit: 9e5825ce812cc857e25b682b3243e68b23d04f30 URL: https://gitlab.winehq.org/wine/wine/-/commit/9e5825ce812cc857e25b682b3243e68...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Nov 22 19:15:54 2022 +0300
vbscript: Fix a typo in variable name in LBound().
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com
---
dlls/vbscript/global.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/vbscript/global.c b/dlls/vbscript/global.c index d07d46415e6..98c705f4712 100644 --- a/dlls/vbscript/global.c +++ b/dlls/vbscript/global.c @@ -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)