From 53db22a380ec76a684fd5000d216350aaa795278 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 12 Dec 2008 20:44:50 +0000 Subject: code cleanup --- src/recur.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/recur.c') diff --git a/src/recur.c b/src/recur.c index 56adf1e..912f5d0 100755 --- a/src/recur.c +++ b/src/recur.c @@ -1,4 +1,4 @@ -/* $calcurse: recur.c,v 1.41 2008/12/08 19:17:07 culot Exp $ */ +/* $calcurse: recur.c,v 1.42 2008/12/12 20:44:50 culot Exp $ */ /* * Calcurse - text-based organizer @@ -694,7 +694,7 @@ recur_repeat_item (conf_t *conf) } while ((ch != 'D') && (ch != 'W') && (ch != 'M') - && (ch != 'Y') && (ch != KEY_GENERIC_CANCEL)) + && (ch != 'Y') && (ch != ESCAPE)) { status_mesg (mesg_type_1, mesg_type_2); ch = wgetch (win[STA].p); @@ -861,7 +861,7 @@ recur_apoint_check_next (struct notify_app_s *app, long start, long day) if (real_recur_start_time > start) { app->time = real_recur_start_time; - app->txt = mycpy (i->mesg); + app->txt = strdup (i->mesg); app->state = i->state; app->got_app = 1; } -- cgit v1.2.3-54-g00ecf