summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2019-05-28 19:53:36 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2019-05-28 17:57:31 -0400
commit3674127e8061b5f93cd32d6cfa99d3ba21a3a3f0 (patch)
treeb7a07f192fcaee76cb9895740e47196247d5d298
parent41061103e6b1a590793352aadf71c7cca514b57e (diff)
downloadcalcurse-3674127e8061b5f93cd32d6cfa99d3ba21a3a3f0.tar.gz
calcurse-3674127e8061b5f93cd32d6cfa99d3ba21a3a3f0.zip
Fix missing calculation of number of days on resize
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rw-r--r--src/calcurse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index a72ce6f..389afa8 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -747,6 +747,10 @@ int main(int argc, char **argv)
if (resize) {
resize = 0;
wins_reset();
+ if (conf.multiple_days) {
+ do_storage(0);
+ wins_update(FLAG_APP);
+ }
}
if (want_reload) {