diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-09-28 04:56:29 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-09-28 04:56:29 +0800 |
commit | 241a65b72b3620f85bad00fac28d268e5f47d2d6 (patch) | |
tree | 94f749268b21a9ae37a71ff2ad2cb91cc23e311a /calendar/gui/gncal-todo.c | |
parent | 9d0b58bb8eb5a2180c6d38d7e45c9396331dc725 (diff) | |
download | gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.gz gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.tar.zst gsoc2013-evolution-241a65b72b3620f85bad00fac28d268e5f47d2d6.zip |
Small fix -miguel
svn path=/trunk/; revision=1265
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r-- | calendar/gui/gncal-todo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c index 05611e14e8..941eddf453 100644 --- a/calendar/gui/gncal-todo.c +++ b/calendar/gui/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); } |