Hi,

Ugh.  The patch was malformed.  Re-sent as attachment.

Regards,

Dianne.
diff --git a/scripts/tkremind b/scripts/tkremind
index 04d7e55..b671562 100755
--- a/scripts/tkremind
+++ b/scripts/tkremind
@@ -2989,7 +2989,14 @@ proc ShowTodaysReminders {} {
     CenterWindow $w .
 
     # Grab the reminders
-    set stuff [exec -keepnewline $Remind -g -q -r $Option(ExtraRemindArgs) $ReminderFile 2>/dev/null]
+    set stuff ""
+    catch {
+	if {"$Option(ExtraRemindArgs)" != ""} {
+	    set stuff [exec -keepnewline $Remind -g -q -r $Option(ExtraRemindArgs) $ReminderFile 2>/dev/null]
+	} else {
+	    set stuff [exec -keepnewline $Remind -g -q -r $ReminderFile 2>/dev/null]
+	}
+    }
     $w.text insert end $stuff
     $w.text configure -state disabled
 }
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to