X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fexecutor.c;h=7b4d10cf9f3e06f59bf1439dd9891cc6a859e227;hb=481e4ef5d944216a7212f3de245dec4f42c8d120;hp=9336f7ce3d4dbe318fb8ed5fbdd5a890e3be57ed;hpb=bd17d2af982332ee1791998361b1ac6731fe14fa;p=pspp-builds.git diff --git a/src/ui/gui/executor.c b/src/ui/gui/executor.c index 9336f7ce..7b4d10cf 100644 --- a/src/ui/gui/executor.c +++ b/src/ui/gui/executor.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2007, 2009 Free Software Foundation + Copyright (C) 2007, 2009, 2010 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 @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "psppire-output-window.h" extern struct dataset *the_dataset; @@ -95,6 +95,8 @@ execute_syntax (struct getl_interface *sss) lex_destroy (lexer); + proc_execute (the_dataset); + psppire_dict_replace_dictionary (the_data_store->dict, dataset_dict (the_dataset)); @@ -102,9 +104,7 @@ execute_syntax (struct getl_interface *sss) if (!lazy_casereader_destroy (reader, lazy_serial)) psppire_data_store_set_reader (the_data_store, reader); - som_flush (); - - psppire_output_window_reload (); + output_flush (); return retval; }