aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/custom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/custom.c b/src/custom.c
index 01e6ba3..3fc3a2a 100644
--- a/src/custom.c
+++ b/src/custom.c
@@ -832,6 +832,7 @@ static void general_option_edit(int i)
break;
case PERIODIC_SAVE:
status_mesg(periodic_save_str, "");
+ snprintf(buf, BUFSIZ, "%d", conf.periodic_save);
if (updatestring(win[STA].p, &buf, 0, 1) == 0) {
val = atoi(buf);
if (val >= 0) {