From 625d4143f12420232591719750584a1a089a8cf7 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 7 Sep 2022 08:27:54 -0700 Subject: [PATCH] CTABLES: Allow CAPTIONS, CORNERS, TITLES in TITLES subcommand. Matthias Faeth reported that SPSS accepts these spellings. --- src/language/stats/ctables.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/language/stats/ctables.c b/src/language/stats/ctables.c index d746a3356f..d0c0a8482b 100644 --- a/src/language/stats/ctables.c +++ b/src/language/stats/ctables.c @@ -6446,11 +6446,11 @@ cmd_ctables (struct lexer *lexer, struct dataset *ds) do { char **textp; - if (lex_match_id (lexer, "CAPTION")) + if (lex_match_id (lexer, "CAPTIONS")) textp = &t->caption; - else if (lex_match_id (lexer, "CORNER")) + else if (lex_match_id (lexer, "CORNERS")) textp = &t->corner; - else if (lex_match_id (lexer, "TITLE")) + else if (lex_match_id (lexer, "TITLES")) textp = &t->title; else { -- 2.30.2