From 3e030063e831da0af7bdb8d12f2f25a5224ba0be Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 23 Apr 2004 17:49:37 +0000 Subject: [PATCH] Ahem; that only didn't cause a segfault by sheer luck. git-svn-id: svn://svn.tartarus.org/sgt/halibut@4130 cda61777-01e9-0310-a592-d414129be87e --- bk_text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; /* -- 2.11.0