Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/filesys_log.cpp

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

revision 2576 by doda, Fri Aug 8 01:28:34 2008 UTC revision 2602 by maya, Fri Oct 31 23:45:27 2008 UTC
# Line 321  void ConvertLogname(char *c, int destlen Line 321  void ConvertLogname(char *c, int destlen
321          strncpy_s(c, destlen, buf, _TRUNCATE);          strncpy_s(c, destlen, buf, _TRUNCATE);
322  }  }
323    
324    void FixLogOption()
325    {
326            if (ts.TransBin) {
327                    ts.LogTypePlainText = false;
328                    ts.LogTimestamp = false;
329            }
330    }
331    
332  extern "C" {  extern "C" {
333  void LogStart()  void LogStart()
334  {  {
# Line 418  void LogStart() Line 426  void LogStart()
426                  // &h をホスト名に置換 (2007.5.14)                  // &h をホスト名に置換 (2007.5.14)
427                  ConvertLogname(LogVar->FullName, sizeof(LogVar->FullName));                  ConvertLogname(LogVar->FullName, sizeof(LogVar->FullName));
428                  (*SetFileVar)(LogVar);                  (*SetFileVar)(LogVar);
429    
430                    FixLogOption();
431          }          }
432    
433          if (ts.TransBin > 0)          if (ts.TransBin > 0)

Legend:
Removed from v.2576  
changed lines
  Added in v.2602

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