From b21069c57323adc22c14abf5cd49cec95bcea1f6 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Tue, 21 Sep 2021 23:49:51 +1000 Subject: [PATCH] _err_print_error only output p_message so swapped parameters around --- src/core/error_macros.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/error_macros.cpp b/src/core/error_macros.cpp index 877f53c8..0b60a0df 100644 --- a/src/core/error_macros.cpp +++ b/src/core/error_macros.cpp @@ -45,7 +45,7 @@ void _err_print_error(const char *p_function, const char *p_file, int p_line, co } void _err_print_error(const char *p_function, const char *p_file, int p_line, const char *p_error, bool p_is_warning) { - _err_print_error(p_function, p_file, p_line, p_error, "", p_is_warning); + _err_print_error(p_function, p_file, p_line, "", p_error, p_is_warning); } void _err_print_index_error(const char *p_function, const char *p_file, int p_line, int64_t p_index, int64_t p_size, const char *p_index_str, const char *p_size_str, const char *p_message, bool fatal) {