[ttssh2-commit] [9345] ワークサイズを誤っていたので修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 8月 10日 (火) 23:41:35 JST


Revision: 9345
          https://osdn.net/projects/ttssh2/scm/svn/commits/9345
Author:   zmatsuo
Date:     2021-08-10 23:41:34 +0900 (Tue, 10 Aug 2021)
Log Message:
-----------
ワークサイズを誤っていたので修正

Modified Paths:
--------------
    trunk/teraterm/teraterm/addsetting.cpp

-------------- next part --------------
Modified: trunk/teraterm/teraterm/addsetting.cpp
===================================================================
--- trunk/teraterm/teraterm/addsetting.cpp	2021-08-05 14:13:25 UTC (rev 9344)
+++ trunk/teraterm/teraterm/addsetting.cpp	2021-08-10 14:41:34 UTC (rev 9345)
@@ -850,7 +850,7 @@
 static void OpacityTooltip(CTipWin* tip, HWND hDlg, int trackbar, int pos, const char *UILanguageFile)
 {
 	wchar_t uimsg[MAX_UIMSG];
-	get_lang_msgW("TOOLTIP_TITLEBAR_OPACITY", uimsg, sizeof(uimsg), L"Opacity %.1f %%", ts.UILanguageFile);
+	get_lang_msgW("TOOLTIP_TITLEBAR_OPACITY", uimsg, _countof(uimsg), L"Opacity %.1f %%", ts.UILanguageFile);
 	wchar_t tipbuf[MAX_UIMSG];
 	swprintf_s(tipbuf, _countof(tipbuf), uimsg, (pos / 255.0) * 100);
 	RECT rc;


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