]> spindle.queued.net Git - midori/commitdiff
Duplicate day name for history panel folder names
authorAlexander Butenko <a.butenka@gmail.com>
Fri, 23 Jul 2010 13:50:10 +0000 (09:50 -0400)
committerChristian Dywan <christian@twotoasts.de>
Fri, 23 Jul 2010 19:49:16 +0000 (21:49 +0200)
panels/midori-history.c

index 314280dd4f4445544237fe04c36cceb9e433f155..1af9542999d73f149b4673af8c7b343b99efa8fd 100644 (file)
@@ -140,7 +140,7 @@ midori_history_format_date (KatzeItem *item)
     else if (age > 7 || age < 0)
     {
         strftime (token, sizeof (token), "%x", localtime ((time_t*)&day));
-        sdate = token;
+        sdate = g_strdup (token);
     }
     else if (age > 6)
         sdate = _("A week ago");