浏览代码

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