Explorar el Código

* Minor improvement, fix by lagprogramming. Fixes issue #40922

Michaël Van Canneyt hace 1 año
padre
commit
10bbe83284
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/fcl-passrc/src/pscanner.pp

+ 1 - 1
packages/fcl-passrc/src/pscanner.pp

@@ -1365,7 +1365,7 @@ begin
     '/','\': exit;
     '.':
       begin
-      Delete(Result,p,length(Result));
+      SetLength(Result, p-1);
       exit;
       end;
     end;