Explorar o código

Fix compilation of nds and wii OS rtl

Pierre Muller %!s(int64=3) %!d(string=hai) anos
pai
achega
f4580ff612
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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
      begin
        paramstr := execpathstr;
        paramstr := execpathstr;
      end
      end
-   else (l > 0) and (l < argc) then
+   else if (l > 0) and (l < argc) then
      paramstr := strpas(argv[l])
      paramstr := strpas(argv[l])
   else
   else
     paramstr := '';
     paramstr := '';

+ 1 - 1
rtl/wii/system.pp

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