From: Ben Pfaff Date: Wed, 7 Sep 2022 15:27:54 +0000 (-0700) Subject: CTABLES: Allow CAPTIONS, CORNERS, TITLES in TITLES subcommand. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=625d4143f12420232591719750584a1a089a8cf7;p=pspp CTABLES: Allow CAPTIONS, CORNERS, TITLES in TITLES subcommand. Matthias Faeth reported that SPSS accepts these spellings. --- 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 {