summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/libnrtype/Layout-TNG-Compute.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp
index 0fbbb6f0c..ca16291d0 100755
--- a/src/libnrtype/Layout-TNG-Compute.cpp
+++ b/src/libnrtype/Layout-TNG-Compute.cpp
@@ -524,7 +524,6 @@ class Layout::Calculator
if (unbroken_span.glyph_string->log_clusters[glyph_index] < (int)unbroken_span.text_bytes
&& *iter_source_text == UNICODE_SOFT_HYPHEN
- && it_span + 1 != it_chunk->broken_spans.end()
&& glyph_index + 1 != it_span->end_glyph_index) {
// if we're looking at a soft hyphen and it's not the last glyph in the
// chunk we don't draw the glyph but we still need to add to _characters