diff --git a/nx/include/switch/applets/error.h b/nx/include/switch/applets/error.h index 71e049a5..30a60ade 100644 --- a/nx/include/switch/applets/error.h +++ b/nx/include/switch/applets/error.h @@ -54,10 +54,10 @@ void errorConfigSetMinorCode(ErrorConfig* c, u32 code); /** * @brief Sets whether to use a custom error message. - * @param c ErrorConfig struct - * @param customText Whether to use a custom message. + * @param c ErrorConfig struct + * @param custom_text Whether to use a custom message. */ -void errorConfigSetCustomText(ErrorConfig* c, bool customText); +void errorConfigSetCustomText(ErrorConfig* c, bool custom_text); /** * @brief Sets the short description. diff --git a/nx/source/applets/error.cpp b/nx/source/applets/error.cpp index 739760ea..11d74062 100644 --- a/nx/source/applets/error.cpp +++ b/nx/source/applets/error.cpp @@ -49,8 +49,8 @@ void errorConfigSetMinorCode(ErrorConfig* c, u32 code) { c->minor_code = code; } -void errorConfigSetCustomText(ErrorConfig* c, bool customText) { - c->custom_text = customText; +void errorConfigSetCustomText(ErrorConfig* c, bool custom_text) { + c->custom_text = custom_text; } void errorConfigSetShortDescription(ErrorConfig* c, const char* str) {