Skip to content
Snippets Groups Projects
Commit e7780133 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Applied code formatting tool.

parent 5f957a1f
Branches
Tags
1 merge request!930Parco 2019 debug
......@@ -1805,8 +1805,8 @@ void io_check_output_fields(const struct swift_params* params,
/* loop over each possible output field */
for (int field_id = 0; field_id < num_fields; field_id++) {
char field_name[PARSER_MAX_LINE_SIZE];
sprintf(field_name, "SelectOutput:%.*s_%s", FIELD_BUFFER_SIZE,
list[field_id].name, part_type_names[ptype]);
sprintf(field_name, "SelectOutput:%.*s_%s", FIELD_BUFFER_SIZE,
list[field_id].name, part_type_names[ptype]);
if (strcmp(param_name, field_name) == 0) {
found = 1;
......
......@@ -1359,8 +1359,8 @@ void write_output_serial(struct engine* e, const char* baseName,
/* Did the user cancel this field? */
char field[PARSER_MAX_LINE_SIZE];
sprintf(field, "SelectOutput:%.*s_%s", FIELD_BUFFER_SIZE, list[i].name,
part_type_names[ptype]);
sprintf(field, "SelectOutput:%.*s_%s", FIELD_BUFFER_SIZE,
list[i].name, part_type_names[ptype]);
int should_write = parser_get_opt_param_int(params, field, 1);
if (should_write)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment