aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution/e-summary-tasks.c')
-rw-r--r--my-evolution/e-summary-tasks.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c
index 126935c022..b704ce1cf9 100644
--- a/my-evolution/e-summary-tasks.c
+++ b/my-evolution/e-summary-tasks.c
@@ -164,6 +164,14 @@ sort_uids (gconstpointer a,
if (pri_b == NULL)
pri_b = &lowest;
+ if (*pri_a == 0) {
+ *pri_a = lowest;
+ }
+
+ if (*pri_b == 0) {
+ *pri_b = lowest;
+ }
+
rv = *pri_a - *pri_b;
if (pri_a != &lowest)