]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-time.c
Updated Polish translation
[empathy.git] / libempathy / empathy-time.c
index 19397e7a9fc757180251dd1a5e6df935e444377c..a39636dde6f0101c14382dd7585504c1b0c1bc98 100644 (file)
@@ -40,18 +40,18 @@ empathy_time_get_current (void)
 time_t
 empathy_time_get_local_time (struct tm *tm)
 {
-       const gchar *timezone;
+       const gchar *tz;
        time_t       t;
 
-       timezone = g_getenv ("TZ");
+       tz = g_getenv ("TZ");
        g_setenv ("TZ", "", TRUE);
 
        tzset ();
 
        t = mktime (tm);
 
-       if (timezone) {
-               g_setenv ("TZ", timezone, TRUE);
+       if (tz) {
+               g_setenv ("TZ", tz, TRUE);
        } else {
                g_unsetenv ("TZ");
        }