2
0
Margers 1 жил өмнө
parent
commit
fd353ee62c

+ 2 - 1
packages/ide/weditor.pas

@@ -6970,7 +6970,8 @@ begin
                i:=1 {if input line is empty then start from first character of word if any}
              else
                i:=pos(Data^,s);
-             if (i>0) and (length(s)>=i+length(Data^)) then               begin
+             if (i>0) and (length(s)>=i+length(Data^)) then               
+               begin
                  s:=Data^+s[i+length(Data^)];
                  If not assigned(validator) or
                     Validator^.IsValidInput(s,False)  then