[sword-devel] SWORD 1.5.11

Karl Kleinpaste karl at kleinpaste.org
Wed May 14 04:08:48 MST 2008


DM Smith <dmsmith555 at yahoo.com> writes:
> Go to Genesis 1.1 and click on the Strong's number for created <1254!a>
> it locates 8674. It should locate 1254.

Back in January, GnomeSword gained this peculiar-to-GS fix for this
problem when preparing URLs for display:

		// correct weird NASB lexicon references.
		if (s0 = strchr(*strongs, '!')) {
			while (isdigit(*(s0-1))) {
				*s0 = *(s0-1);
				s0--;
			}
			*s0 = '0';
		}

Seems to work fine, but it's true that it a proper solution should be
generalized in Sword, not in the individual applications; I will remove
this GS-specific hack once Sword handles it directly.



More information about the sword-devel mailing list