Switch to unified view

a/src/common/textsplit.cpp b/src/common/textsplit.cpp
...
...
338
                
338
                
339
    }
339
    }
340
    cerr << endl;
340
    cerr << endl;
341
#endif
341
#endif
342
    int spanwords = int(m_words_in_span.size());
342
    int spanwords = int(m_words_in_span.size());
343
    // It seems that something like: tv_combo-sample_util.Po@am_quote
344
    // can get the splitter to call doemit with a span of '@' and
345
    // words_in_span==0, which then causes a crash when accessing
346
    // words_in_span[0] if the stl assertions are active (e.g. Fedora
347
    // RPM build). Not too sure what the right fix would be, but for
348
    // now, just defend against it
349
    if (spanwords == 0) {
350
        return true;
351
    }
343
    int pos = m_spanpos;
352
    int pos = m_spanpos;
344
    // Byte position of the span start
353
    // Byte position of the span start
345
    size_t spboffs = bp - m_span.size();
354
    size_t spboffs = bp - m_span.size();
346
355
347
    if (o_deHyphenate && spanwords == 2 && 
356
    if (o_deHyphenate && spanwords == 2 &&