Skip to content
Snippets Groups Projects
Commit c7692764 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Shorten the parameter override message

parent a7b743e1
No related branches found
No related tags found
1 merge request!402Yamling
......@@ -133,8 +133,8 @@ void parser_set_param(struct swift_params *params, const char *namevalue) {
int updated = 0;
for (int i = 0; i < params->paramCount; i++) {
if (strcmp(name, params->data[i].name) == 0) {
message("Using the value '%s' instead of '%s' for the parameter '%s'",
value, params->data[i].value, params->data[i].name);
message("Value of '%s' changed from '%s' to '%s'",
params->data[i].name, params->data[i].value, value);
strcpy(params->data[i].value, value);
updated = 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment