From 1d0ff54794b5edea7cdf1d2d66710a0fa885bcc5 Mon Sep 17 00:00:00 2001 From: Teus Benschop Date: Sun, 28 Oct 2018 11:51:26 +0100 Subject: New upstream version 1.8.1 --- src/modules/filters/osismorph.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/modules/filters/osismorph.cpp') diff --git a/src/modules/filters/osismorph.cpp b/src/modules/filters/osismorph.cpp index 71de8e5..4ccf15b 100644 --- a/src/modules/filters/osismorph.cpp +++ b/src/modules/filters/osismorph.cpp @@ -3,7 +3,7 @@ * osismorph.cpp - SWFilter descendant to hide or show morph tags * in a OSIS module * - * $Id: osismorph.cpp 2980 2013-09-14 21:51:47Z scribe $ + * $Id: osismorph.cpp 3427 2016-07-03 14:30:33Z scribe $ * * Copyright 2003-2013 CrossWire Bible Society (http://www.crosswire.org) * CrossWire Bible Society @@ -90,11 +90,12 @@ char OSISMorph::processText(SWBuf &text, const SWKey *key, const SWModule *modul continue; } if (intoken) { - if (tokpos < 2045) + if (tokpos < 2045) { token[tokpos++] = *from; token[tokpos] = 0; + } } - else { + else { text.append(*from); } } -- cgit v1.2.3