summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkfilechooserdefault.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index d4bb4dddd9..a2a75f732e 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -11138,7 +11138,8 @@ list_mtime_data_func (GtkTreeViewColumn *tree_column,
date_str = g_locale_to_utf8 (buf, -1, NULL, NULL, NULL);
#endif
}
- else
+
+ if (date_str == NULL)
date_str = g_strdup (_("Unknown"));
g_free (locale_format);