Added some accelerator keys to the menu items.
[pspp] / src / language / xforms / select-if.c
index 4240f63b47b94e2f79a972c4954e2275c457ab38..4110f9089b2f3d19bc94b73343ec16c5f709ea3b 100644 (file)
@@ -18,8 +18,8 @@
 
 #include <stdlib.h>
 
+#include "data/dataset.h"
 #include "data/dictionary.h"
-#include "data/procedure.h"
 #include "data/transformations.h"
 #include "data/variable.h"
 #include "language/command.h"
@@ -125,5 +125,5 @@ cmd_filter (struct lexer *lexer, struct dataset *ds)
       dict_set_filter (dict, v);
     }
 
-  return lex_end_of_command (lexer);
+  return CMD_SUCCESS;
 }