diff options
author | Marcin Zelent <zelent.marcin@gmail.com> | 2018-01-23 12:13:26 +0100 |
---|---|---|
committer | Marcin Zelent <zelent.marcin@gmail.com> | 2018-01-23 12:13:26 +0100 |
commit | f771df3a3b67543d714175c5aea1c261a12403b6 (patch) | |
tree | 7d9a614f66fcfc8dd37408c5b28ce69f7948c345 | |
parent | a9aa980009f1d86e6ea5e45036fbca8fa44d53bf (diff) |
Fixed editing.
-rw-r--r-- | timetracker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/timetracker.c b/timetracker.c index b07f029..c268a9e 100644 --- a/timetracker.c +++ b/timetracker.c @@ -58,6 +58,7 @@ void edit_new() FIELD *field[2]; int ch, rows, cols; + memset(new.name, 0, strlen(new.name)); keypad(win, TRUE); field[0] = new_field(7, 48, 2, 1, 0, 0); field[1] = NULL; |