瀏覽代碼

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:
             {