Fix argument name

This commit is contained in:
Liam Minopulos 2019-02-27 20:17:56 +01:00
parent 7e42dfe3ca
commit f41f0bea7a
2 changed files with 5 additions and 5 deletions

View File

@ -55,9 +55,9 @@ 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 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.

View File

@ -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) {