Revision: 10491 https://osdn.net/projects/ttssh2/scm/svn/commits/10491 Author: zmatsuo Date: 2023-01-15 01:15:08 +0900 (Sun, 15 Jan 2023) Log Message: ----------- ComPortInfoGet()の引数を誤ってたので修正 - r10487の修正抜け Modified Paths: -------------- trunk/teraterm/ttpcmn/ttcmn_cominfo.c trunk/ttssh2/ttxssh/ttxssh.c -------------- next part -------------- Modified: trunk/teraterm/ttpcmn/ttcmn_cominfo.c =================================================================== --- trunk/teraterm/ttpcmn/ttcmn_cominfo.c 2023-01-14 15:39:01 UTC (rev 10490) +++ trunk/teraterm/ttpcmn/ttcmn_cominfo.c 2023-01-14 16:15:08 UTC (rev 10491) @@ -61,7 +61,7 @@ ComPortDesc[i] = NULL; } - port_info = ComPortInfoGet(&count, NULL); + port_info = ComPortInfoGet(&count); p = port_info; for (i = 0; i < count; i++) { ComPortTable[i] = p->port_no; @@ -90,7 +90,7 @@ { int count; int i; - ComPortInfo_t *port_info = ComPortInfoGet(&count, NULL); + ComPortInfo_t *port_info = ComPortInfoGet(&count); const ComPortInfo_t *p = port_info; int found = 0; for (i = 0; i < count; i++) { Modified: trunk/ttssh2/ttxssh/ttxssh.c =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.c 2023-01-14 15:39:01 UTC (rev 10490) +++ trunk/ttssh2/ttxssh/ttxssh.c 2023-01-14 16:15:08 UTC (rev 10491) @@ -1016,7 +1016,7 @@ SetWindowLongPtr(dlg, DWLP_USER, (LPARAM)dlg_data); dlg_data->GetHNRec = GetHNRec; - dlg_data->ComPortInfoPtr = ComPortInfoGet(&dlg_data->ComPortInfoCount, NULL); + dlg_data->ComPortInfoPtr = ComPortInfoGet(&dlg_data->ComPortInfoCount); SetI18nDlgStrsW(dlg, "TTSSH", text_info, _countof(text_info), pvar->ts->UILanguageFileW);