[gthumb/ext] init the daytime value



commit 82ee604919dcc3763673b625c48902a1183a0919
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Dec 16 21:06:46 2009 +0100

    init the daytime value

 gthumb/glib-utils.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/glib-utils.c b/gthumb/glib-utils.c
index 1a7877f..53a5b85 100644
--- a/gthumb/glib-utils.c
+++ b/gthumb/glib-utils.c
@@ -436,6 +436,8 @@ _g_time_val_from_exif_date (const char *exif_date,
 	if (! g_ascii_isdigit (*exif_date))
 		return FALSE;
 
+	tm.tm_isdst = -1;
+
 	/* YYYY */
 
 	val = g_ascii_strtoull (exif_date, (char **)&exif_date, 10);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]