Browse Source

Merge pull request #1639 from UsernameIsAReservedWord/fix_printraw

PR : fixes printraw to make it actually print raw
Juan Linietsky 10 năm trước cách đây
mục cha
commit
888dfcb02e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/gdscript/gd_functions.cpp

+ 1 - 1
modules/gdscript/gd_functions.cpp

@@ -575,7 +575,7 @@ void GDFunctions::call(Function p_func,const Variant **p_args,int p_arg_count,Va
 			}
 
 			//str+="\n";
-			OS::get_singleton()->print("%s\n",str.utf8().get_data());
+			OS::get_singleton()->print("%s",str.utf8().get_data());
 			r_ret=Variant();
 
 		} break;