Fixed incorrect syntax generated by the Select Random Cases dialog.
[pspp] / src / ui / gui / psppire-dialog-action-select.c
index e5d777dadac61363493c3801121fd00f57ddb9f3..ee45db152e62e59a0b95752c622e751e49e88f61 100644 (file)
@@ -414,7 +414,7 @@ generate_syntax_filter (const PsppireDialogAction *a)
                           ranvar);
 
          ds_put_c_format (&dss,
-                          "SORT BY %s, %s.\n",
+                          "SORT CASES BY %s, %s.\n",
                           filter, ranvar);
 
          ds_put_cstr (&dss, "EXECUTE.\n");
@@ -434,7 +434,7 @@ generate_syntax_filter (const PsppireDialogAction *a)
 
 
          ds_put_c_format (&dss,
-                          "SORT BY %s.\n",
+                          "SORT CASES BY %s.\n",
                           key);
 
          ds_put_c_format (&dss,