summaryrefslogtreecommitdiff
path: root/bk_whlp.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2001-12-04 22:45:21 +0000
committerSimon Tatham <anakin@pobox.com>2001-12-04 22:45:21 +0000
commit1327ff7779e53416bbaf4785f21e5eb79095d3d0 (patch)
tree2afc7d79af380829685ef7146921cf15313bcffe /bk_whlp.c
parent83c420de93875d512b0fa10af57a3d335079a5b6 (diff)
downloadhalibut-1327ff7779e53416bbaf4785f21e5eb79095d3d0.zip
halibut-1327ff7779e53416bbaf4785f21e5eb79095d3d0.tar.gz
halibut-1327ff7779e53416bbaf4785f21e5eb79095d3d0.tar.bz2
halibut-1327ff7779e53416bbaf4785f21e5eb79095d3d0.tar.xz
Remove the text-mode trappings (_emphasis_ and `code') in the index
terms and section titles. They were unfortunately screwing up index sorting, so they had to go. [originally from svn r1455]
Diffstat (limited to 'bk_whlp.c')
-rw-r--r--bk_whlp.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/bk_whlp.c b/bk_whlp.c
index d23357c..5341919 100644
--- a/bk_whlp.c
+++ b/bk_whlp.c
@@ -474,14 +474,6 @@ static void whlp_rdaddwc(rdstringc *rs, word *text) {
case word_WkCodeQuote:
assert(text->type != word_CodeQuote &&
text->type != word_WkCodeQuote);
- if (towordstyle(text->type) == word_Emph &&
- (attraux(text->aux) == attr_First ||
- attraux(text->aux) == attr_Only))
- rdaddc(rs, '_'); /* FIXME: configurability */
- else if (towordstyle(text->type) == word_Code &&
- (attraux(text->aux) == attr_First ||
- attraux(text->aux) == attr_Only))
- rdaddc(rs, '\x91'); /* FIXME: configurability */
if (removeattr(text->type) == word_Normal) {
if (whlp_convert(text->text, &c, FALSE))
rdaddsc(rs, c);
@@ -494,14 +486,6 @@ static void whlp_rdaddwc(rdstringc *rs, word *text) {
rdaddc(rs, quoteaux(text->aux) == quote_Open ? '\x91' : '\x92');
/* FIXME: configurability */
}
- if (towordstyle(text->type) == word_Emph &&
- (attraux(text->aux) == attr_Last ||
- attraux(text->aux) == attr_Only))
- rdaddc(rs, '_'); /* FIXME: configurability */
- else if (towordstyle(text->type) == word_Code &&
- (attraux(text->aux) == attr_Last ||
- attraux(text->aux) == attr_Only))
- rdaddc(rs, '\x92'); /* FIXME: configurability */
break;
}
}