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 3501 by doda, Tue Jun 16 07:43:31 2009 UTC revision 3507 by doda, Tue Jun 16 10:53:55 2009 UTC
# Line 1296  void FAR PASCAL ReadIniFile(PCHAR FName, Line 1296  void FAR PASCAL ReadIniFile(PCHAR FName,
1296          // Meta sets MSB          // Meta sets MSB
1297          ts->Meta8Bit = GetOnOff(Section, "Meta8Bit", FName, FALSE);          ts->Meta8Bit = GetOnOff(Section, "Meta8Bit", FName, FALSE);
1298    
1299            // Meta sets MSB
1300            GetPrivateProfileString(Section, "Meta8Bit", "off", Temp, sizeof(Temp), FName);
1301            if (_stricmp(Temp, "raw") == 0 || _stricmp(Temp, "on") == 0)
1302                    ts->Meta8Bit = IdMeta8BitRaw;
1303            else if (_stricmp(Temp, "text") == 0)
1304                    ts->Meta8Bit = IdMeta8BitText;
1305            else
1306                    ts->Meta8Bit = IdMeta8BitOff;
1307    
1308          // Window control sequence          // Window control sequence
1309          if (GetOnOff(Section, "WindowCtrlSequence", FName, TRUE))          if (GetOnOff(Section, "WindowCtrlSequence", FName, TRUE))
1310                  ts->WindowFlag |= WF_WINDOWCHANGE;                  ts->WindowFlag |= WF_WINDOWCHANGE;
# Line 2261  void FAR PASCAL WriteIniFile(PCHAR FName Line 2270  void FAR PASCAL WriteIniFile(PCHAR FName
2270                   ts->PasteDelayPerLine);                   ts->PasteDelayPerLine);
2271    
2272          // Meta sets MSB          // Meta sets MSB
2273          WriteOnOff(Section, "Meta8Bit", FName, ts->Meta8Bit);          switch (ts->Meta8Bit) {
2274              case IdMeta8BitRaw:
2275                    WritePrivateProfileString(Section, "Meta8Bit", "raw", FName);
2276                    break;
2277              case IdMeta8BitText:
2278                    WritePrivateProfileString(Section, "Meta8Bit", "text", FName);
2279                    break;
2280              default:
2281                    WritePrivateProfileString(Section, "Meta8Bit", "off", FName);
2282            }
2283    
2284          // Window control sequence          // Window control sequence
2285          WriteOnOff(Section, "WindowCtrlSequence", FName,          WriteOnOff(Section, "WindowCtrlSequence", FName,

Legend:
Removed from v.3501  
changed lines
  Added in v.3507

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