aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gncal-todo.c')
-rw-r--r--calendar/gncal-todo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gncal-todo.c b/calendar/gncal-todo.c
index 05611e14e8..941eddf453 100644
--- a/calendar/gncal-todo.c
+++ b/calendar/gncal-todo.c
@@ -515,10 +515,10 @@ static char *
convert_time_t_to_char (time_t t)
{
char buf[100];
- struct tm *tm;
+ struct tm tm;
- tm = localtime (&t);
- strftime(buf, sizeof (buf), "%m/%d/%Y", tm);
+ tm = *localtime (&t);
+ strftime(buf, sizeof (buf), "%m/%d/%Y", &tm);
return g_strdup (buf);
}
treamer0.10-removal&id=43bd9f14d9ce11690e9538bf3b03d3462faa6dbe'>wmclock
Commit message (Expand)AuthorAgeFilesLines
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Reset inactive maintainer who has not responded to email.linimon2006-09-051-1/+1
* Fix -y option to display the correct yeararved2006-08-073-0/+33
* SHA256ifyedwin2006-01-241-0/+1
* - Fix MASTER_SITESkrion2004-05-102-3/+3
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* Use PLIST_FILES (bento-tested, marcus-reviewed).trevor2004-02-062-1/+1
* De-pkg-comment.knu2003-02-212-1/+1