Revision: 9131 https://osdn.net/projects/ttssh2/scm/svn/commits/9131 Author: zmatsuo Date: 2021-01-16 14:22:26 +0900 (Sat, 16 Jan 2021) Log Message: ----------- 9x系で新しい接続ダイアログのホスト履歴が出なかったので修正 - 動作しないW系APIを直接呼び出していた Modified Paths: -------------- trunk/ttssh2/ttxssh/ttxssh.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/ttxssh.c =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.c 2021-01-16 05:22:12 UTC (rev 9130) +++ trunk/ttssh2/ttxssh/ttxssh.c 2021-01-16 05:22:26 UTC (rev 9131) @@ -1238,12 +1238,12 @@ wchar_t EntNameW[128]; wchar_t TempHostW[HostNameMaxLength + 1]; _snwprintf_s(EntNameW, _countof(EntNameW), _TRUNCATE, L"host%d", i); - GetPrivateProfileStringW(L"Hosts", EntNameW, L"", - TempHostW, _countof(TempHostW), - SetupFnW); + _GetPrivateProfileStringW(L"Hosts", EntNameW, L"", + TempHostW, _countof(TempHostW), + SetupFnW); if (TempHostW[0] != 0) - SendDlgItemMessageW(dlg, IDC_HOSTNAME, CB_ADDSTRING, - 0, (LPARAM) TempHostW); + _SendDlgItemMessageW(dlg, IDC_HOSTNAME, CB_ADDSTRING, + 0, (LPARAM) TempHostW); i++; } while (i <= MAXHOSTLIST); free(SetupFnW);