From 3aff84bba85260ac3acbe4ba78d414c479f30622 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Tue, 24 Aug 2021 15:56:19 -0300 Subject: [PATCH] Fixes STRING type detection in `vwatch.bm` --- internal/support/vwatch/vwatch.bm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/support/vwatch/vwatch.bm b/internal/support/vwatch/vwatch.bm index 7c3673d41..aac0b4075 100644 --- a/internal/support/vwatch/vwatch.bm +++ b/internal/support/vwatch/vwatch.bm @@ -311,7 +311,7 @@ SUB vwatch (globalVariables AS _OFFSET, localVariables AS _OFFSET) 'find the required element for this array IF INSTR(vw_varType$, "STRING *") THEN vw_varSize = VAL(MID$(vw_varType$, _INSTRREV(vw_varType$, " ") + 1)) - ELSEIF INSTR(vw_varType$, "STRING") THEN + ELSEIF vw_varType$ = "STRING" THEN vw_varSize = LEN(vw_dummy%&) END IF