From 16a331300d4c9deb96c3ca34cd1f470c762c8fad Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 1 Jul 2011 18:43:58 +0200 Subject: [PATCH] Fix bug where recent data files were not added --- src/ui/gui/psppire-data-window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-data-window.c b/src/ui/gui/psppire-data-window.c index 86c81853..647d073b 100644 --- a/src/ui/gui/psppire-data-window.c +++ b/src/ui/gui/psppire-data-window.c @@ -387,7 +387,8 @@ load_file (PsppireWindow *de, const gchar *file_name) mime_type = (name_has_por_suffix (file_name) ? "application/x-spss-por" : "application/x-spss-sav"); - add_most_recent (ds_cstr (&filename), mime_type); + + add_most_recent (file_name, mime_type); return ok; } -- 2.30.2