projects/guix·blob python-team · refs

21 lines · 864 B

1Fix a regression in 6.8 where the 'single' headings option was not recognized.
2
3Taken from upstream:
4
5 https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=13a8894fe2faa45b04033d7122a8fe7939ce6aa2
6
7diff --git a/tp/Texinfo/XS/parsetexi/end_line.c b/tp/Texinfo/XS/parsetexi/end_line.c
8index 4556780052..3fc2065616 100644
9--- a/tp/Texinfo/XS/parsetexi/end_line.c
10+++ b/tp/Texinfo/XS/parsetexi/end_line.c
11@@ -778,8 +778,8 @@ kdbinputstyle_invalid:
12 case CM_headings:
13 {
14 if (!strcmp (line, "off") || !strcmp (line, "on")
15- || !strcmp (line, "double") || !strcmp (line, "singleafter")
16- || !strcmp (line, "doubleafter"))
17+ || !strcmp (line, "single") || !strcmp (line, "double")
18+ || !strcmp (line, "singleafter") || !strcmp (line, "doubleafter"))
19 {
20 ADD_ARG(line);
21 }