projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix bug where recent data files were not added
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-data-window.c
diff --git
a/src/ui/gui/psppire-data-window.c
b/src/ui/gui/psppire-data-window.c
index 86c81853127cf032444cc11f7ad14b3458e00c7b..647d073bf993d7cebdf27d45332597492680dd5f 100644
(file)
--- 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;
}