From 723d65d543161171f01ca6d28129bb70b7e6ec99 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 25 Oct 2001 12:48:13 +0000 Subject: 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] --- misc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'misc.c') diff --git a/misc.c b/misc.c index 7a1c59d..4243954 100644 --- a/misc.c +++ b/misc.c @@ -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; -- cgit v1.1