diff --git a/src/exec.c b/src/exec.c index bfccfada..0bb0fd1f 100644 --- a/src/exec.c +++ b/src/exec.c @@ -37,6 +37,7 @@ #include #include #include +#include #include struct execi_data { @@ -229,6 +230,7 @@ void scan_execi_arg(struct text_object *obj, const char *arg) ed = malloc(sizeof(struct execi_data)); memset(ed, 0, sizeof(struct execi_data)); + ed->last_update = -INFINITY; if (sscanf(arg, "%f %n", &ed->interval, &n) <= 0) { NORM_ERR("${execi* command}");