aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorDamon Chaplin <damon@ximian.com>2002-01-18 08:00:05 +0800
committerDamon Chaplin <damon@src.gnome.org>2002-01-18 08:00:05 +0800
commit04e7d6891ca6b4c62b4d509a0f1194fdb06b82af (patch)
tree7f4dd9640d050eb4fb0c5e3f392616c5dd83e110 /calendar/gui/dialogs
parent7da35dfe09148edd34ae4b48a53b1eae179dc58c (diff)
downloadgsoc2013-evolution-04e7d6891ca6b4c62b4d509a0f1194fdb06b82af.tar.gz
gsoc2013-evolution-04e7d6891ca6b4c62b4d509a0f1194fdb06b82af.tar.zst
gsoc2013-evolution-04e7d6891ca6b4c62b4d509a0f1194fdb06b82af.zip
save the alarm string in the correct variable (str), so it actually gets
2002-01-17 Damon Chaplin <damon@ximian.com> * gui/dialogs/alarm-page.c (get_alarm_string): save the alarm string in the correct variable (str), so it actually gets shown for alarms with specific trigger times. Fixes bug #18801. svn path=/trunk/; revision=15352
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/alarm-page.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/alarm-page.c b/calendar/gui/dialogs/alarm-page.c
index cbc23837da..c06e975ed7 100644
--- a/calendar/gui/dialogs/alarm-page.c
+++ b/calendar/gui/dialogs/alarm-page.c
@@ -435,7 +435,6 @@ get_alarm_string (CalComponentAlarm *alarm)
char *location;
struct tm tm;
char buf[256];
- char *date;
/* Absolute triggers come in UTC, so convert them to the local timezone */
@@ -450,7 +449,7 @@ get_alarm_string (CalComponentAlarm *alarm)
e_time_format_date_and_time (&tm, calendar_config_get_24_hour_format (),
FALSE, FALSE, buf, sizeof (buf));
- date = g_strdup_printf (_("%s at %s"), base, buf);
+ str = g_strdup_printf (_("%s at %s"), base, buf);
break; }