[Ttssh2-commit] [8601] _GetWindowTextW() の不具合を修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2020年 3月 18日 (水) 00:37:06 JST


Revision: 8601
          https://osdn.net/projects/ttssh2/scm/svn/commits/8601
Author:   zmatsuo
Date:     2020-03-18 00:37:06 +0900 (Wed, 18 Mar 2020)
Log Message:
-----------
_GetWindowTextW() の不具合を修正

- GetWindowTextW() を pGetWindowTextW() に修正
- return が抜けていた

Modified Paths:
--------------
    trunk/teraterm/common/layer_for_unicode.cpp

-------------- next part --------------
Modified: trunk/teraterm/common/layer_for_unicode.cpp
===================================================================
--- trunk/teraterm/common/layer_for_unicode.cpp	2020-03-16 15:20:53 UTC (rev 8600)
+++ trunk/teraterm/common/layer_for_unicode.cpp	2020-03-17 15:37:06 UTC (rev 8601)
@@ -176,7 +176,7 @@
 int _GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
 {
 	if (pGetWindowTextW != NULL) {
-		GetWindowTextW(hWnd, lpString, nMaxCount);
+		return pGetWindowTextW(hWnd, lpString, nMaxCount);
 	}
 
 	size_t lenW;


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