From f41f0bea7a31da363c1bb80f46c13547881e27e6 Mon Sep 17 00:00:00 2001 From: Liam Minopulos Date: Wed, 27 Feb 2019 20:17:56 +0100 Subject: [PATCH] Fix argument name --- nx/include/switch/applets/error.h | 6 +++--- nx/source/applets/error.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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) {