소스 검색

Fix compilation of nds and wii OS rtl

Pierre Muller 3 년 전
부모
커밋
f4580ff612
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      rtl/nds/system.pp
  2. 1 1
      rtl/wii/system.pp

+ 1 - 1
rtl/nds/system.pp

@@ -159,7 +159,7 @@ function paramstr(l: longint) : string;
      begin
        paramstr := execpathstr;
      end
-   else (l > 0) and (l < argc) then
+   else if (l > 0) and (l < argc) then
      paramstr := strpas(argv[l])
   else
     paramstr := '';

+ 1 - 1
rtl/wii/system.pp

@@ -128,7 +128,7 @@ function paramstr(l: longint) : string;
      begin
        paramstr := execpathstr;
      end
-   else (l > 0) and ( l < argc ) then
+   else if (l > 0) and ( l < argc ) then
      paramstr:=strpas(argv[l])
    else
      paramstr:='';