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

dtrotzjr at www.crosswire.org dtrotzjr at www.crosswire.org
Sat May 24 11:15:56 MST 2008


Author: dtrotzjr
Date: 2008-05-24 11:15:55 -0700 (Sat, 24 May 2008)
New Revision: 140

Modified:
   trunk/src/SwordReader_GUI/SRMainFrame.cpp
   trunk/src/SwordReader_GUI/SRReaderApp.cpp
Log:
Minor changes

Modified: trunk/src/SwordReader_GUI/SRMainFrame.cpp
===================================================================
--- trunk/src/SwordReader_GUI/SRMainFrame.cpp	2008-05-24 04:42:38 UTC (rev 139)
+++ trunk/src/SwordReader_GUI/SRMainFrame.cpp	2008-05-24 18:15:55 UTC (rev 140)
@@ -243,7 +243,6 @@
 	WCString heading;
 	char strNum[10];
 	while (true) {
-        //m_modCurText->SetKey(m_keyCurVerse);
 		m_modCurText->SetKey(keyCur);
         int pvHeading = 0;
 		do {
@@ -257,7 +256,6 @@
 			}
 			else break;
 		} while (true);
-        //s = GetVerseHeader(*m_keyCurVerse);
         s = GetVerseHeader(keyCur);
         s += (TCHAR *)m_modCurText->RenderText();
         s += " "; // Many verses do not have a space after them.
@@ -265,7 +263,6 @@
             // If the following failed it was due to a bad tag in this verse. 
             // Use the stripped version instead.
             if(!m_viewText->AddText(s.w_str(), s.length())){ 
-                //s = GetVerseHeader(*m_keyCurVerse);
                 s = GetVerseHeader(keyCur);
                 s += (TCHAR *)m_modCurText->StripText();
                 s += " "; // Many verses do not have a space after them. 
@@ -273,11 +270,9 @@
             }
 
 		}
-        //if (m_keyCurVerse->Verse() == GetMaxVerses())
         if (keyCur.Verse() == GetMaxVerses())
 			break;
 		else
-            //m_keyCurVerse->increment(1);
             keyCur.increment(1);
 	}
     buf = "</body></html>";

Modified: trunk/src/SwordReader_GUI/SRReaderApp.cpp
===================================================================
--- trunk/src/SwordReader_GUI/SRReaderApp.cpp	2008-05-24 04:42:38 UTC (rev 139)
+++ trunk/src/SwordReader_GUI/SRReaderApp.cpp	2008-05-24 18:15:55 UTC (rev 140)
@@ -34,9 +34,6 @@
 		if((msg.message == WM_LBUTTONDOWN || msg.message == WM_KEYDOWN) && (ignoreMsgs || msg.time < ignoreTill))
 			continue;
 
-        if(msg.message == WM_TIMER)
-            continue;
-
 		if (!m_hAccelTable || !TranslateAccelerator(msg.hwnd, m_hAccelTable, &msg)) 
 		{
 			TranslateMessage(&msg);




More information about the sword-cvs mailing list