[sword-svn] r59 - in trunk/src: . gui

dtrotzjr at www.crosswire.org dtrotzjr at www.crosswire.org
Thu Dec 13 22:36:19 MST 2007


Author: dtrotzjr
Date: 2007-12-13 22:36:19 -0700 (Thu, 13 Dec 2007)
New Revision: 59

Modified:
   trunk/src/SwRd.vcb
   trunk/src/SwRd.vco
   trunk/src/gui/VerseTextControl.cpp
Log:
Fixed verse scrolling.

Modified: trunk/src/SwRd.vcb
===================================================================
(Binary files differ)

Modified: trunk/src/SwRd.vco
===================================================================
(Binary files differ)

Modified: trunk/src/gui/VerseTextControl.cpp
===================================================================
--- trunk/src/gui/VerseTextControl.cpp	2007-12-14 05:10:50 UTC (rev 58)
+++ trunk/src/gui/VerseTextControl.cpp	2007-12-14 05:36:19 UTC (rev 59)
@@ -20,7 +20,10 @@
 }
 
 void VerseTextControl::gotoAnchor(int anchor) {
-	controlToVerse(htmlControl1,anchor);
+	if(!primed || preview)
+		controlToVerse(htmlControl1,anchor);
+	else
+		controlToVerse(htmlControl2,anchor);
 }
 
 void VerseTextControl::paint() {




More information about the sword-cvs mailing list