From 2fcfbc69712fff56c753341b80c7d3a142069582 Mon Sep 17 00:00:00 2001 From: Sublunar Space Date: Sat, 2 Feb 2019 19:34:35 +0100 Subject: [PATCH] fixed dayjump --- lib/sweph/pmom.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/sweph/pmom.c b/lib/sweph/pmom.c index 48534d2..71773c8 100644 --- a/lib/sweph/pmom.c +++ b/lib/sweph/pmom.c @@ -344,8 +344,13 @@ const char * pmom(int days, long epoch, double latitude, double longitude, int b h++; } - queryday = hm; + queryday += 86400; j++; +#if USECASE == OFFLINE + EM_ASM_({ + NProgress.set($0/$1); + }, j, days*2); +#endif }; length += snprintf(Buffer+length, buflen-length, "]}"); return Buffer;