forked from pool/texinfo
21 lines
480 B
Diff
21 lines
480 B
Diff
|
--- makeinfo/sectioning.c 2008/09/26 11:56:28 1.30
|
||
|
+++ makeinfo/sectioning.c 2011/01/15 00:23:19 1.32
|
||
|
@@ -256,14 +256,14 @@
|
||
|
return xstrdup ("");
|
||
|
else if (enum_marker == APPENDIX_MAGIC)
|
||
|
{
|
||
|
- char s[1];
|
||
|
+ char s[2];
|
||
|
sprintf (s, "%c", numbers[0] + 64);
|
||
|
return xstrdup (s);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
- char s[5];
|
||
|
- sprintf (s, "%d", numbers[0]);
|
||
|
+ char s[100];
|
||
|
+ sprintf (s, "%4d", numbers[0]);
|
||
|
return xstrdup (s);
|
||
|
}
|
||
|
}
|