[sword-devel] Incomplete StrongsPadding support for RawLD4

Jaak Ristioja jaak at ristioja.ee
Fri Mar 24 15:29:00 MST 2017


Hi!

It seems that back in 2013 SVN 2780 introduced the logic to detect
strongs numbers and add padding:

  commit d35ffd0642aadb2dfb52039cc3081e59e5f48225
  Author: scribe <scribe at bcd7d363-81e1-0310-97ec-a550e20fc99c>
  Date:   Fri Feb 1 09:11:52 2013 +0000

      added ability to turn off logic to detect strongs numbers and add
padding.
      .conf entry:
      StrongsPadding=false

  git-svn-id: https://crosswire.org/svn/sword/trunk@2780
bcd7d363-81e1-0310-97ec-a550e20fc99c


But apparently this commit was incomplete, as it did not put

    if (strongsPadding)

before

    strongsPad(buf);

in RawLD4::getEntry() and RawLD4::getEntryForKey(). Trivial fix:
https://github.com/swordxx/swordxx/commit/8995c6a316722e0ce3d0776066be482c9df5f712


God bless!
J



More information about the sword-devel mailing list