gui: Allow File|Open to select an encoding for system files.
[pspp] / src / ui / gui / text-data-import-dialog.c
index d1252592e8e9056dadf0867596c6abe61370e0ca..b0f524ec6a182adc6beb376747ef6f9afbc63f25 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013  Free Software Foundation
+   Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -122,7 +122,7 @@ text_data_import_assistant (PsppireDataWindow *dw)
     case GTK_RESPONSE_APPLY:
       {
        gchar *fn = g_path_get_basename (ia->file.file_name);
-       open_data_window (PSPPIRE_WINDOW (dw), fn, generate_syntax (ia));
+       open_data_window (PSPPIRE_WINDOW (dw), fn, NULL, generate_syntax (ia));
        g_free (fn);
       }
       break;