Ahem; that only didn't cause a segfault by sheer luck.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 23 Apr 2004 17:49:37 +0000 (17:49 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 23 Apr 2004 17:49:37 +0000 (17:49 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/halibut@4130 cda61777-01e9-0310-a592-d414129be87e

bk_text.c

index 3d8646c..e4a2d81 100644 (file)
--- 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;
     /*