]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - texinfo/patches/texinfo-4.13a-makeinfo-sectioning.patch
Move all packages to root.
[people/arne_f/ipfire-3.x.git] / texinfo / patches / texinfo-4.13a-makeinfo-sectioning.patch
CommitLineData
a4f26965
MT
1diff -up texinfo-4.13/makeinfo/sectioning.c.orig texinfo-4.13/makeinfo/sectioning.c
2--- texinfo-4.13/makeinfo/sectioning.c.orig 2010-11-10 11:24:53.000000000 +0100
3+++ texinfo-4.13/makeinfo/sectioning.c 2010-11-10 11:25:28.000000000 +0100
4@@ -256,14 +256,14 @@ current_chapter_number (void)
5 return xstrdup ("");
6 else if (enum_marker == APPENDIX_MAGIC)
7 {
8- char s[1];
9+ char s[2];
10 sprintf (s, "%c", numbers[0] + 64);
11 return xstrdup (s);
12 }
13 else
14 {
15 char s[5];
16- sprintf (s, "%d", numbers[0]);
17+ sprintf (s, "%4d", numbers[0]);
18 return xstrdup (s);
19 }
20 }