[sword-svn] r69 - trunk/src/gui

dtrotzjr at www.crosswire.org dtrotzjr at www.crosswire.org
Sat Dec 22 15:16:41 MST 2007


Author: dtrotzjr
Date: 2007-12-22 15:16:40 -0700 (Sat, 22 Dec 2007)
New Revision: 69

Modified:
   trunk/src/gui/TextControl.cpp
Log:
Fixes problem with short chapters not being shown when using double buffering.

Modified: trunk/src/gui/TextControl.cpp
===================================================================
--- trunk/src/gui/TextControl.cpp	2007-12-20 17:25:51 UTC (rev 68)
+++ trunk/src/gui/TextControl.cpp	2007-12-22 22:16:40 UTC (rev 69)
@@ -128,6 +128,8 @@
 		endHtml(htmlControl2);
 		ShowWindow(htmlControl1,SW_HIDE);
 		ShowWindow(htmlControl2,SW_SHOW);
+		// In some cases this is still false due to very short chapters
+		primed = true; 
 	}
 #ifdef debugfile
 	fclose(file);




More information about the sword-cvs mailing list