Преглед изворни кода

Merge pull request #186 from xfxdev/nativescript-1.1

Fix compile error of 'WARN_PRINT' and 'ERR_PRINT'.
Thomas Herzog пре 7 година
родитељ
комит
b4ab2d2d9b
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      include/core/Defs.hpp

+ 2 - 2
include/core/Defs.hpp

@@ -113,7 +113,7 @@ typedef float real_t;
 #endif
 
 #ifndef WARN_PRINTS
-#define WARN_PRINTS(msg) WARN_PRINT(msg.utf8().get_data())
+#define WARN_PRINTS(msg) WARN_PRINT((msg).utf8().get_data())
 #endif
 
 #ifndef ERR_PRINT
@@ -121,7 +121,7 @@ typedef float real_t;
 #endif
 
 #ifndef ERR_PRINTS
-#define ERR_PRINTS(msg) ERR_PRINT(msg.utf8().get_data())
+#define ERR_PRINTS(msg) ERR_PRINT((msg).utf8().get_data())
 #endif
 
 #ifndef ERR_FAIL