summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;