X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire.c;h=1f903beda993c75616491e08f11f7100408ac2aa;hb=3e7375959ad4c954b165a0b367657702bfaf70fc;hp=ddfdfbcb8101055db588a73c2e1ba1081ccb0521;hpb=52e144652645cab108fb2db0a970f1ace2cbf2ea;p=pspp diff --git a/src/ui/gui/psppire.c b/src/ui/gui/psppire.c index ddfdfbcb81..1f903beda9 100644 --- a/src/ui/gui/psppire.c +++ b/src/ui/gui/psppire.c @@ -160,6 +160,7 @@ handle_msg (const struct msg *m_, void *lexer_) m.first_column = lex_get_first_column (lexer, 0); m.last_column = lex_get_last_column (lexer, 0); } + m.command_name = CONST_CAST (char *, output_get_command_name ()); message_item_submit (message_item_create (&m)); } @@ -175,13 +176,13 @@ GtkWindow * psppire_preload_file (const gchar *file) { const gchar *local_encoding = "UTF-8"; - + struct file_handle *fh = fh_create_file (NULL, file, local_encoding, fh_default_properties ()); const char *filename = fh_get_file_name (fh); - + int retval = any_reader_detect (fh, NULL); GtkWindow *w = NULL;