Browse Source

If debuging then use the old way to get the focus. The hook was causing lockups on breakpoints

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@83 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden 21 years ago
parent
commit
40959fdea7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Misc.cpp

+ 4 - 0
Misc.cpp

@@ -490,6 +490,10 @@ CGetSetOptions::CGetSetOptions()
 	m_bLogSendReceiveErrors = GetLogSendReceiveErrors();
 	m_bUseHookDllForFocus = GetProfileLong("UseHookDllForFocus", TRUE);
 
+	#ifdef _DEBUG
+	m_bUseHookDllForFocus = FALSE;
+	#endif
+
 	for(int i = 0; i < MAX_SEND_CLIENTS; i++)
 	{
 		GetSendClients(i);