Fix header ordering.
[pspp] / src / language / stats / rank.q
index 92667f1cf0e10c9b4740b8709bd11bcf076a9dfe..dcd7dae60106c4be66e8c81c8185e4cc03f2e640 100644 (file)
@@ -20,6 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 
 #include <config.h>
 #include <language/command.h>
+#include <language/stats/sort-criteria.h>
 #include <libpspp/compiler.h>
 #include <data/dictionary.h>
 #include <math/sort.h>
@@ -241,12 +242,12 @@ parse_rank_function(struct cmd_rank *cmd UNUSED, enum RANK_FUNC f)
          ++var_count;
          if ( dict_lookup_var (default_dict, tokid) != NULL )
            {
-             msg(ME, _("Variable %s already exists."), tokid);
+             msg(SE, _("Variable %s already exists."), tokid);
              return 0;
            }
          if ( var_count > sc->crit_cnt ) 
            {
-             msg(ME, _("Too many variables in INTO clause."));
+             msg(SE, _("Too many variables in INTO clause."));
              return 0;
            }