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 3861 by doda, Thu Apr 15 13:15:43 2010 UTC revision 3887 by doda, Fri May 14 12:21:04 2010 UTC
# Line 332  void ConvertLogname(char *c, int destlen Line 332  void ConvertLogname(char *c, int destlen
332    
333  void FixLogOption()  void FixLogOption()
334  {  {
335          if (ts.TransBin) {          if (ts.LogBinary) {
336                  ts.LogTypePlainText = false;                  ts.LogTypePlainText = false;
337                  ts.LogTimestamp = false;                  ts.LogTimestamp = false;
338          }          }
# Line 374  BOOL LogStart() Line 374  BOOL LogStart()
374                  // 0x2000 = timestamp (2006.7.23 maya)                  // 0x2000 = timestamp (2006.7.23 maya)
375                  // 0x4000 = hide file transfer dialog (2008.1.30 maya)                  // 0x4000 = hide file transfer dialog (2008.1.30 maya)
376                  // teraterm.iniの設定を見てからデフォルトオプションを決める。(2005.5.7 yutaka)                  // teraterm.iniの設定を見てからデフォルトオプションを決める。(2005.5.7 yutaka)
377                  Option = MAKELONG(ts.TransBin,                  Option = MAKELONG(ts.LogBinary,
378                                    ts.Append |                                    ts.Append |
379                                    (0x1000 * ts.LogTypePlainText) |                                    (0x1000 * ts.LogTypePlainText) |
380                                    (0x2000 * ts.LogTimestamp) |                                    (0x2000 * ts.LogTimestamp) |
# Line 395  BOOL LogStart() Line 395  BOOL LogStart()
395                          FreeTTFILE();                          FreeTTFILE();
396                          return FALSE;                          return FALSE;
397                  }                  }
398                  ts.TransBin = LOWORD(Option);                  ts.LogBinary = LOWORD(Option);
399                  ts.Append = HIWORD(Option);                  ts.Append = HIWORD(Option);
400    
401                  if (ts.Append & 0x1000) {                  if (ts.Append & 0x1000) {
# Line 439  BOOL LogStart() Line 439  BOOL LogStart()
439                  FixLogOption();                  FixLogOption();
440          }          }
441    
442          if (ts.TransBin > 0)          if (ts.LogBinary > 0)
443          {          {
444                  BinLog = TRUE;                  BinLog = TRUE;
445                  FileLog = FALSE;                  FileLog = FALSE;

Legend:
Removed from v.3861  
changed lines
  Added in v.3887

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