Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/ttpset/ttset.c

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

revision 6457 by doda, Mon Aug 1 09:01:33 2016 UTC revision 6467 by doda, Wed Aug 17 08:39:09 2016 UTC
# Line 1257  void FAR PASCAL ReadIniFile(PCHAR FName, Line 1257  void FAR PASCAL ReadIniFile(PCHAR FName,
1257                  ts->ScrollBuffMax = 10000;                  ts->ScrollBuffMax = 10000;
1258    
1259          /* Max com port number -- special option */          /* Max com port number -- special option */
1260          ts->MaxComPort = GetPrivateProfileInt(Section, "MaxComPort", 4, FName);          ts->MaxComPort = GetPrivateProfileInt(Section, "MaxComPort", 256, FName);
1261          if (ts->MaxComPort < 4)          if (ts->MaxComPort < 4)
1262                  ts->MaxComPort = 4;                  ts->MaxComPort = 4;
         // COM16から99へ拡張 (2005.11.30 yutaka)  
         // 99から200へ拡張 (2007.7.23 maya)  
1263          if (ts->MaxComPort > MAXCOMPORT)          if (ts->MaxComPort > MAXCOMPORT)
1264                  ts->MaxComPort = MAXCOMPORT;                  ts->MaxComPort = MAXCOMPORT;
1265          if ((ts->ComPort < 1) || (ts->ComPort > ts->MaxComPort))          if ((ts->ComPort < 1) || (ts->ComPort > ts->MaxComPort))

Legend:
Removed from v.6457  
changed lines
  Added in v.6467

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