[Ttssh2-commit] [7994] debug用コードを削除

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 8月 20日 (火) 23:33:43 JST


Revision: 7994
          https://osdn.net/projects/ttssh2/scm/svn/commits/7994
Author:   zmatsuo
Date:     2019-08-20 23:33:43 +0900 (Tue, 20 Aug 2019)
Log Message:
-----------
debug用コードを削除

Modified Paths:
--------------
    branches/unicode_buf/teraterm/teraterm/buffer.c
    branches/unicode_buf/teraterm/teraterm/teraterm.cpp

-------------- next part --------------
Modified: branches/unicode_buf/teraterm/teraterm/buffer.c
===================================================================
--- branches/unicode_buf/teraterm/teraterm/buffer.c	2019-08-20 13:32:09 UTC (rev 7993)
+++ branches/unicode_buf/teraterm/teraterm/buffer.c	2019-08-20 14:33:43 UTC (rev 7994)
@@ -2802,7 +2802,7 @@
 			bufW[lenW] = 0;
 			bufWW[lenW] = 0;
 
-#if 1
+#if 0
 			OutputDebugPrintf("A[%d] '%s'\n", lenA, bufA);
 			OutputDebugPrintfW(L"W[%d] '%s'\n", lenW, bufW);
 #endif

Modified: branches/unicode_buf/teraterm/teraterm/teraterm.cpp
===================================================================
--- branches/unicode_buf/teraterm/teraterm/teraterm.cpp	2019-08-20 13:32:09 UTC (rev 7993)
+++ branches/unicode_buf/teraterm/teraterm/teraterm.cpp	2019-08-20 14:33:43 UTC (rev 7994)
@@ -304,7 +304,6 @@
 		}
 
 		if (!message_processed) {
-			_CrtCheckMemory();
 			TranslateMessage(&msg);
 			DispatchMessage(&msg);
 		}
@@ -311,7 +310,6 @@
 
 		while (!PeekMessage(&msg, NULL, NULL, NULL, PM_NOREMOVE)) {
 			// \x83\x81\x83b\x83Z\x81[\x83W\x82\xAA\x82Ȃ\xA2
-			_CrtCheckMemory();
 			if (!OnIdle(lCount)) {
 				// idle\x95s\x97v
 				if (SleepTick < 500) {	// \x8Dő\xE5 501ms\x96\xA2\x96\x9E
@@ -324,9 +322,7 @@
 				SleepTick = 0;
 				lCount++;
 			}
-			_CrtCheckMemory();
 		}
-		_CrtCheckMemory();
 	}
 	delete m_pMainWnd;
 	m_pMainWnd = NULL;


Ttssh2-commit メーリングリストの案内
Back to archive index