소스 검색

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