summaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index e477014..d756d62 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -418,7 +418,7 @@ item_in_popup (char *saved_a_start, char *saved_a_end, char *msg,
pad = newpad (padl, padw);
popup_win = popup (winl, winw, 1, 2, pop_title, NULL, 1);
- if (strncmp (pop_title, _("Appointment"), 11) == 0)
+ if (strcmp (pop_title, _("Appointment")) == 0)
{
mvwprintw (popup_win, margin_top, margin_left, "- %s -> %s",
saved_a_start, saved_a_end);