From bab27547d3b0e38dd8e28f880c57672db547ff69 Mon Sep 17 00:00:00 2001 From: follower Date: Mon, 25 Mar 2019 04:02:04 +1300 Subject: [PATCH] Typo fix: "the function exists" -> "the function exits" As far as I can tell, the intended word here is "exits" rather than "exists" but it's not 100% clear. I'm assuming the intention is to express something along the lines of "An index has failed if m_index >=m_size; [if this happens then] the function exits." --- core/error_macros.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/error_macros.h b/core/error_macros.h index ca5ccd24cf6..78e29551d47 100644 --- a/core/error_macros.h +++ b/core/error_macros.h @@ -86,7 +86,7 @@ void _err_print_index_error(const char *p_function, const char *p_file, int p_li #define _FNL __FILE__ ":" -/** An index has failed if m_index<0 or m_index >=m_size, the function exists */ +/** An index has failed if m_index<0 or m_index >=m_size, the function exits */ extern bool _err_error_exists; @@ -140,7 +140,7 @@ extern bool _err_error_exists; _err_error_exists = false; \ } while (0); // (*) -/** An index has failed if m_index<0 or m_index >=m_size, the function exists. +/** An index has failed if m_index<0 or m_index >=m_size, the function exits. * This function returns an error value, if returning Error, please select the most * appropriate error condition from error_macros.h */ @@ -154,7 +154,7 @@ extern bool _err_error_exists; _err_error_exists = false; \ } while (0); // (*) -/** An index has failed if m_index >=m_size, the function exists. +/** An index has failed if m_index >=m_size, the function exits. * This function returns an error value, if returning Error, please select the most * appropriate error condition from error_macros.h */