summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zelent <zelent.marcin@gmail.com>2018-01-23 12:13:26 +0100
committerMarcin Zelent <zelent.marcin@gmail.com>2018-01-23 12:13:26 +0100
commitf771df3a3b67543d714175c5aea1c261a12403b6 (patch)
tree7d9a614f66fcfc8dd37408c5b28ce69f7948c345 /timetracker.c
parenta9aa980009f1d86e6ea5e45036fbca8fa44d53bf (diff)
Fixed editing.
Diffstat (limited to 'timetracker.c')
-rw-r--r--timetracker.c1
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;