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 2512 by yutakapon, Thu May 15 13:52:39 2008 UTC revision 2557 by yutakapon, Tue Jul 8 16:43:56 2008 UTC
# Line 459  void LogStart() Line 459  void LogStart()
459          LogVar->FileOpen = (LogVar->FileHandle>0);          LogVar->FileOpen = (LogVar->FileHandle>0);
460          if (! LogVar->FileOpen)          if (! LogVar->FileOpen)
461          {          {
462                    char msg[128];
463    
464                    // ファイルオープンエラー時のメッセージ表示を追加した。(2008.7.9 yutaka)
465                    if (LogVar->NoMsg == FALSE) {
466                            _snprintf_s(msg, sizeof(msg), _TRUNCATE, "Can not create a `%s' file. (%d)", LogVar->FullName, GetLastError());
467                            MessageBox(NULL, msg, "Tera Term: File open error", MB_OK | MB_ICONERROR);
468                    }
469    
470                  FileTransEnd(OpLog);                  FileTransEnd(OpLog);
471                  return;                  return;
472          }          }

Legend:
Removed from v.2512  
changed lines
  Added in v.2557

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