summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-08-09 23:25:40 +0000
committerwlemb <wlemb>2002-08-09 23:25:40 +0000
commit6b193b0640897b8fd849d3c55a8cf16b9d784a73 (patch)
tree64efe1483ee920d47959d6d72e6b81c741fec83a /src
parent4de8ed510782824dbed891a214232acbc3fa45b6 (diff)
downloadgroff-6b193b0640897b8fd849d3c55a8cf16b9d784a73.tar.gz
* src/roff/troff/node.cc (node::add_char): Call `freeze_space' for
unbreakable space.
Diffstat (limited to 'src')
-rw-r--r--src/roff/troff/node.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/roff/troff/node.cc b/src/roff/troff/node.cc
index 39397b05..d616c2d9 100644
--- a/src/roff/troff/node.cc
+++ b/src/roff/troff/node.cc
@@ -4605,6 +4605,7 @@ node *node::add_char(charinfo *ci, environment *env,
return res;
case charinfo::TRANSLATE_STRETCHABLE_SPACE:
res = new unbreakable_space_node(env->get_space_width(), this);
+ res->freeze_space();
*widthp += res->width();
*spacep += res->nspaces();
return res;