From: John Darrington Date: Fri, 1 Jul 2011 16:43:58 +0000 (+0200) Subject: Fix bug where recent data files were not added X-Git-Tag: v0.7.9~230 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a331300d4c9deb96c3ca34cd1f470c762c8fad;p=pspp-builds.git Fix bug where recent data files were not added --- 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; }