浏览代码

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:='';