فهرست منبع

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