mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Clear last triggers in all necessary spots.
This commit is contained in:
@@ -785,6 +785,7 @@ static void GenerateCalEntries(int col)
|
||||
DestroyOmitContexts();
|
||||
DestroyVars(0);
|
||||
NumTriggered = 0;
|
||||
ClearLastTriggers();
|
||||
|
||||
r=IncludeFile(InitialFile);
|
||||
if (r) {
|
||||
|
||||
@@ -63,14 +63,16 @@ int main(int argc, char *argv[])
|
||||
setlocale(LC_ALL, "");
|
||||
#endif
|
||||
|
||||
/* The very first thing to do is to set up ErrFp to be stderr */
|
||||
/* The very first thing to do is to set up ErrFp to be stderr */
|
||||
ErrFp = stderr;
|
||||
|
||||
/* Set up global vars */
|
||||
/* Set up global vars */
|
||||
ArgC = argc;
|
||||
ArgV = (char const **) argv;
|
||||
|
||||
InitRemind(argc, (char const **) argv);
|
||||
ClearLastTriggers();
|
||||
|
||||
if (DoCalendar || (DoSimpleCalendar && (!NextMode || PsCal))) {
|
||||
ProduceCalendar();
|
||||
return 0;
|
||||
@@ -129,6 +131,7 @@ int main(int argc, char *argv[])
|
||||
DestroyOmitContexts();
|
||||
DestroyVars(0);
|
||||
NumTriggered = 0;
|
||||
ClearLastTriggers();
|
||||
JulianToday++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user