summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-23 17:49:37 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-23 17:49:37 +0000
commit33eccf2d5c0d0ef7c8072d004c32f7c47ec18240 (patch)
tree2116c635a8f75942f973524021f3337832ed5e06
parent841d4129fb345d93464358ef743df8cd594e136c (diff)
downloadhalibut-33eccf2d5c0d0ef7c8072d004c32f7c47ec18240.zip
halibut-33eccf2d5c0d0ef7c8072d004c32f7c47ec18240.tar.gz
halibut-33eccf2d5c0d0ef7c8072d004c32f7c47ec18240.tar.bz2
halibut-33eccf2d5c0d0ef7c8072d004c32f7c47ec18240.tar.xz
Ahem; that only didn't cause a segfault by sheer luck.
[originally from svn r4130]
-rw-r--r--bk_text.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bk_text.c b/bk_text.c
index 3d8646c..e4a2d81 100644
--- a/bk_text.c
+++ b/bk_text.c
@@ -93,7 +93,8 @@ static textconfig text_configure(paragraph *source) {
ret.bullet.text = L"\x2022\0-\0\0";
ret.rule = L"\x2500\0-\0\0";
ret.filename = dupstr("output.txt");
- ret.startemph = ret.endemph = L"_";
+ ret.startemph = L"_\0_\0\0";
+ ret.endemph = uadv(ret.startemph);
ret.listsuffix = L".";
ret.charset = CS_ASCII;
/*