Explorar o código

pas2js: fixed rtl.js

git-svn-id: trunk@41788 -
Mattias Gaertner %!s(int64=6) %!d(string=hai) anos
pai
achega
c1224f0705
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/pas2js/dist/rtl.js

+ 1 - 1
utils/pas2js/dist/rtl.js

@@ -1103,7 +1103,7 @@ var rtl = {
     if (a<0) a += rtl.hiInt;
     if (b<=0) return a;
     if (b>54) return 0;
-    var r = a * Mat.pow(2,b);
+    var r = a * Math.pow(2,b);
     if (r <= rtl.hiInt) return r;
     return r % rtl.hiInt;
   },