Paired Samples Dialog: Fix broken logic
[pspp] / src / language / dictionary / variable-display.c
index 63bc6d472c6f4c8b01ac221b339ab6e5d518a3e9..67c2e13d637ac31cd3f1bc4682381cec531d68ea 100644 (file)
@@ -198,7 +198,7 @@ cmd_variable_role (struct lexer *lexer, struct dataset *ds)
       if ( lex_match_id (lexer, "INPUT"))
         role = ROLE_INPUT;
       else if ( lex_match_id (lexer, "TARGET"))
-        role = ROLE_OUTPUT;
+        role = ROLE_TARGET;
       else if ( lex_match_id (lexer, "BOTH"))
         role = ROLE_BOTH;
       else if ( lex_match_id (lexer, "NONE"))