[sword-svn] r168 - trunk/src/SwordReader_GUI

dtrotzjr at www.crosswire.org dtrotzjr at www.crosswire.org
Sun Aug 3 08:15:18 MST 2008


Author: dtrotzjr
Date: 2008-08-03 08:15:18 -0700 (Sun, 03 Aug 2008)
New Revision: 168

Modified:
   trunk/src/SwordReader_GUI/SRModuleView.cpp
Log:
Handle the ?\194?\182 symbol by placing two <br> tags when encountered at the beginning of a verse.

Modified: trunk/src/SwordReader_GUI/SRModuleView.cpp
===================================================================
--- trunk/src/SwordReader_GUI/SRModuleView.cpp	2008-08-03 05:06:53 UTC (rev 167)
+++ trunk/src/SwordReader_GUI/SRModuleView.cpp	2008-08-03 15:15:18 UTC (rev 168)
@@ -159,6 +159,8 @@
 			}
 			else break;
 		} while (!fInThread || !m_fAbortThread);
+        if(text.c_str()[0] == '¶')
+            s += "<br><br>";
         s += GetVerseHeader(keyCur);
         s += text + " ";
 		




More information about the sword-cvs mailing list