diff options
| author | gonzo <gonzo@toniatuh.com> | 2026-09-05 11:11:35 +0200 |
|---|---|---|
| committer | gonzo <gonzo@toniatuh.com> | 2026-09-05 11:11:35 +0200 |
| commit | 0a3cab28ce353e9cf0caa8b202e433a0404a82e1 (patch) | |
| tree | 26c15b8f18771e8a911460bab5711d8b0ddd376b /read_functions.c | |
| parent | 93658108c0951e8b03cdd574ec436c1acb821c7b (diff) | |
| download | loan_calc-0a3cab28ce353e9cf0caa8b202e433a0404a82e1.tar.gz | |
Diffstat (limited to 'read_functions.c')
| -rw-r--r-- | read_functions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/read_functions.c b/read_functions.c index d60b19e..3433a84 100644 --- a/read_functions.c +++ b/read_functions.c @@ -3,7 +3,8 @@ loan_type read_loan_type(char **contract_subtypes, char *lt) { int i = 0; for (i = 0; lt[i]; i++) - if (lt[i] == ' ') lt[i] = '\0'; + if (lt[i] == ' ') + lt[i] = '\0'; for (i = 0; contract_subtypes[i]; i++) if (!strcmp(contract_subtypes[i], lt)) |
