[Ttssh2-commit] [8275] [Tooltip] ポインタ値を文字列に変換するフォーマット指定子を変更した

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 10月 8日 (火) 22:42:10 JST


Revision: 8275
          https://osdn.net/projects/ttssh2/scm/svn/commits/8275
Author:   yasuhide
Date:     2019-10-08 22:42:10 +0900 (Tue, 08 Oct 2019)
Log Message:
-----------
[Tooltip] ポインタ値を文字列に変換するフォーマット指定子を変更した

%xから%pに変更した

Modified Paths:
--------------
    branches/tootip_classify/teraterm/common/tipwin.cpp

-------------- next part --------------
Modified: branches/tootip_classify/teraterm/common/tipwin.cpp
===================================================================
--- branches/tootip_classify/teraterm/common/tipwin.cpp	2019-10-08 01:03:37 UTC (rev 8274)
+++ branches/tootip_classify/teraterm/common/tipwin.cpp	2019-10-08 13:42:10 UTC (rev 8275)
@@ -216,7 +216,7 @@
 BOOL CTipWin::IsClassRegistered()
 {
 	if (*class_name == NULL) {
-		_snprintf_s(class_name, sizeof(class_name), _TRUNCATE, _T("%s_%x"), TipWinClassName, hInstance);
+		_snprintf_s(class_name, sizeof(class_name), _TRUNCATE, _T("%s_%p"), TipWinClassName, hInstance);
 	}
 	WNDCLASS twc = { 0 };
 	return (GetClassInfo(hInstance, (LPCSTR)class_name, &twc) > 0);


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