diff options
| author | Simon Tatham <anakin@pobox.com> | 2001-10-25 12:48:13 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2001-10-25 12:48:13 +0000 |
| commit | 723d65d543161171f01ca6d28129bb70b7e6ec99 (patch) | |
| tree | 5aabe49be42d4237cf440721a538c578ffbe1c39 /misc.c | |
| parent | b5d3d7e36e39743dcee33408d99d5c3d09609fa8 (diff) | |
| download | halibut-723d65d543161171f01ca6d28129bb70b7e6ec99.zip halibut-723d65d543161171f01ca6d28129bb70b7e6ec99.tar.gz halibut-723d65d543161171f01ca6d28129bb70b7e6ec99.tar.bz2 halibut-723d65d543161171f01ca6d28129bb70b7e6ec99.tar.xz | |
Fixes to allow the text back end to wrap long headings. (These sound
like a typographical Bad Plan, but they work OK in some types of
document such as a FAQ.)
[originally from svn r1324]
Diffstat (limited to '')
| -rw-r--r-- | misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -44,6 +44,9 @@ void *stk_pop(stack s) { /* * Small routines to amalgamate a string from an input source. */ +const rdstring empty_rdstring = {0, 0, NULL}; +const rdstringc empty_rdstringc = {0, 0, NULL}; + void rdadd(rdstring *rs, wchar_t c) { if (rs->pos >= rs->size-1) { rs->size = rs->pos + 128; |