소스 검색

* correct previous patch, the first letter was missing

git-svn-id: trunk@6066 -
pierre 18 년 전
부모
커밋
8132e2c5d0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}