[sword-svn] r162 - trunk/src/SwordReader_GUI
dtrotzjr at www.crosswire.org
dtrotzjr at www.crosswire.org
Thu Jul 31 22:39:32 MST 2008
Author: dtrotzjr
Date: 2008-07-31 22:39:31 -0700 (Thu, 31 Jul 2008)
New Revision: 162
Modified:
trunk/src/SwordReader_GUI/SRModuleView.cpp
Log:
Fixed a deadlock I accidentally introduced in the last commit.
Modified: trunk/src/SwordReader_GUI/SRModuleView.cpp
===================================================================
--- trunk/src/SwordReader_GUI/SRModuleView.cpp 2008-08-01 03:38:25 UTC (rev 161)
+++ trunk/src/SwordReader_GUI/SRModuleView.cpp 2008-08-01 05:39:31 UTC (rev 162)
@@ -12,7 +12,8 @@
view->m_wStatusBarHeight = SR_STATUS_BAR_HEIGHT;
view->LoadTextView(true);
view->m_wStatusBarHeight = 0;
- view->RefreshWindow();
+ if(!view->m_fAbortThread)
+ view->RefreshWindow();
view->m_fThreadRunning = FALSE;
view->m_fAbortThread = FALSE;
More information about the sword-cvs
mailing list