Browse Source

* correct previous patch, the first letter was missing

git-svn-id: trunk@6066 -
pierre 18 years ago
parent
commit
8132e2c5d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/win/dos.pp

+ 1 - 1
rtl/win/dos.pp

@@ -808,7 +808,7 @@ begin
           begin
              { getenv:=copy(s,i+1,length(s)-i);
                this limits the size to 255-(i+1) }
-             getenv:=strpas(hp+i+1);
+             getenv:=strpas(hp+i);
              break;
           end;
         { next string entry}