summaryrefslogtreecommitdiffstats
path: root/src/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notify.c')
-rw-r--r--src/notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/notify.c b/src/notify.c
index b8ba244..b29e07d 100644
--- a/src/notify.c
+++ b/src/notify.c
@@ -693,6 +693,7 @@ static void config_option_edit(int i)
const char *cmd_str = _("Enter the notification command ");
buf = mem_malloc(BUFSIZ);
+ buf[0] = '\0';
switch (i) {
case 0: