浏览代码

fixed formatting

Margers 1 年之前
父节点
当前提交
fd353ee62c
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      packages/ide/weditor.pas

+ 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