[jsword-svn] r1248 - in trunk: bibledesktop/etc/eclipse jsword/src/main/java/org/crosswire/jsword/passage

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Tue Feb 13 11:26:12 MST 2007


Author: dmsmith
Date: 2007-02-13 11:26:11 -0700 (Tue, 13 Feb 2007)
New Revision: 1248

Modified:
   trunk/bibledesktop/etc/eclipse/bibledesktop-app-desktop.launch
   trunk/jsword/src/main/java/org/crosswire/jsword/passage/AccuracyType.java
Log:
Fixed a bug in AccuracyType

Modified: trunk/bibledesktop/etc/eclipse/bibledesktop-app-desktop.launch
===================================================================
--- trunk/bibledesktop/etc/eclipse/bibledesktop-app-desktop.launch	2007-01-23 21:45:44 UTC (rev 1247)
+++ trunk/bibledesktop/etc/eclipse/bibledesktop-app-desktop.launch	2007-02-13 18:26:11 UTC (rev 1248)
@@ -6,7 +6,6 @@
 </listAttribute>
 <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="bibledesktop"/>
 <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m -ea"/>
-<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java-1.5.0-sun-1.5.0.08"/>
 <listAttribute key="org.eclipse.debug.ui.favoriteGroups">
 <listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
 <listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/passage/AccuracyType.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/passage/AccuracyType.java	2007-01-23 21:45:44 UTC (rev 1247)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/passage/AccuracyType.java	2007-02-13 18:26:11 UTC (rev 1248)
@@ -662,7 +662,7 @@
         for (int i = 0; i < length; i++)
         {
             curChar = input.charAt(i);
-            boolean charIsDigit = curChar == '$' || Character.isDigit(curChar) || (curChar == 'f' && (i + 1 < length ? input.charAt(i + 1) : ' ') == 'f');
+            boolean charIsDigit = curChar == '$' || Character.isDigit(curChar) || (curChar == 'f' && (i + 1 < length ? input.charAt(i + 1) : ' ') == 'f' && !Character.isLetter(lastChar));
             if (charIsDigit || Character.isLetter(curChar))
             {
                 foundBoundary = true;




More information about the jsword-svn mailing list