Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3006 by maya, Thu Aug 30 13:18:20 2007 UTC revision 3007 by maya, Sun Sep 2 05:20:58 2007 UTC
# Line 944  static BOOL CALLBACK TTXHostDlg(HWND dlg Line 944  static BOOL CALLBACK TTXHostDlg(HWND dlg
944                                          continue;                                          continue;
945                                  }                                  }
946    
947                                    // 使用中のポートは表示しない
948                                    if (CheckCOMFlag(ComPortTable[i]) == 1) {
949                                            continue;
950                                    }
951    
952                                  _snprintf_s(&EntName[3], sizeof(EntName)-3, _TRUNCATE, "%d", ComPortTable[i]);                                  _snprintf_s(&EntName[3], sizeof(EntName)-3, _TRUNCATE, "%d", ComPortTable[i]);
953                                  if (ComPortDesc[i] != NULL) {                                  if (ComPortDesc[i] != NULL) {
954                                          strncat_s(EntName, sizeof(EntName), ": ", _TRUNCATE);                                          strncat_s(EntName, sizeof(EntName), ": ", _TRUNCATE);
# Line 958  static BOOL CALLBACK TTXHostDlg(HWND dlg Line 963  static BOOL CALLBACK TTXHostDlg(HWND dlg
963    
964                  } else {                  } else {
965                          for (i = 1; i <= GetHNRec->MaxComPort; i++) {                          for (i = 1; i <= GetHNRec->MaxComPort; i++) {
966                                    // 使用中のポートは表示しない
967                                    if (CheckCOMFlag(i) == 1) {
968                                            continue;
969                                    }
970    
971                                  _snprintf_s(&EntName[3], sizeof(EntName)-3, _TRUNCATE, "%d", i);                                  _snprintf_s(&EntName[3], sizeof(EntName)-3, _TRUNCATE, "%d", i);
972                                  SendDlgItemMessage(dlg, IDC_HOSTCOM, CB_ADDSTRING,                                  SendDlgItemMessage(dlg, IDC_HOSTCOM, CB_ADDSTRING,
973                                                     0, (LPARAM) EntName);                                                     0, (LPARAM) EntName);

Legend:
Removed from v.3006  
changed lines
  Added in v.3007

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26