Revision: 8167 https://osdn.net/projects/ttssh2/scm/svn/commits/8167 Author: yasuhide Date: 2019-09-16 04:45:15 +0900 (Mon, 16 Sep 2019) Log Message: ----------- _snprintf_sの引数を修正した Modified Paths: -------------- branches/tootip_classify/teraterm/teraterm/addsetting.cpp branches/tootip_classify/teraterm/teraterm/vtwin.cpp -------------- next part -------------- Modified: branches/tootip_classify/teraterm/teraterm/addsetting.cpp =================================================================== --- branches/tootip_classify/teraterm/teraterm/addsetting.cpp 2019-09-15 15:33:26 UTC (rev 8166) +++ branches/tootip_classify/teraterm/teraterm/addsetting.cpp 2019-09-15 19:45:15 UTC (rev 8167) @@ -1035,7 +1035,7 @@ TCHAR uimsg[MAX_UIMSG]; RECT rc; get_lang_msg("TOOLTIP_TITLEBAR_OPACITY", uimsg, sizeof(uimsg), "Opacity %.1f %%", ts.UILanguageFile); - _stprintf_s(tipbuf, _countof(tipbuf), _T(uimsg), (pos / 255.0) * 100); + _stprintf_s(tipbuf, _countof(tipbuf), uimsg, (pos / 255.0) * 100); ::GetWindowRect(GetDlgItem(IDC_ALPHA_BLEND_ACTIVE), &rc); TipWin->SetText(tipbuf); @@ -1063,7 +1063,7 @@ TCHAR tipbuf[32], uimsg[MAX_UIMSG]; RECT rc; get_lang_msg("TOOLTIP_TITLEBAR_OPACITY", uimsg, sizeof(uimsg), "Opacity %.1f %%", ts.UILanguageFile); - _stprintf_s(tipbuf, _countof(tipbuf), _T(uimsg), (pos / 255.0) * 100); + _stprintf_s(tipbuf, _countof(tipbuf), uimsg, (pos / 255.0) * 100); ::GetWindowRect(GetDlgItem(IDC_ALPHA_BLEND_INACTIVE), &rc); TipWin->SetText(tipbuf); Modified: branches/tootip_classify/teraterm/teraterm/vtwin.cpp =================================================================== --- branches/tootip_classify/teraterm/teraterm/vtwin.cpp 2019-09-15 15:33:26 UTC (rev 8166) +++ branches/tootip_classify/teraterm/teraterm/vtwin.cpp 2019-09-15 19:45:15 UTC (rev 8167) @@ -2460,7 +2460,7 @@ SetWindowAlpha(newAlpha); get_lang_msg("TOOLTIP_TITLEBAR_OPACITY", uimsg, sizeof(uimsg), "Opacity %.1f %%", ts.UILanguageFile); - _stprintf_s(tipbuf, _countof(tipbuf), _T(uimsg), (newAlpha / 255.0) * 100); + _stprintf_s(tipbuf, _countof(tipbuf), uimsg, (newAlpha / 255.0) * 100); tippos = TipWin->GetPos(); if (tippos.x != pt.x ||