فهرست منبع

Fix errant print statements

These were being printed to stdout instead of in the intended place
Hugo Musso Gualandi 4 سال پیش
والد
کامیت
8e291809bf
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/luaot.c

+ 2 - 2
src/luaot.c

@@ -304,10 +304,10 @@ void PrintConstant(const Proto* f, int i)
             print("nil");
             break;
         case LUA_VFALSE:
-            printf("false");
+            print("false");
             break;
         case LUA_VTRUE:
-            printf("true");
+            print("true");
             break;
         case LUA_VNUMFLT:
             {