Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/addsetting.cpp

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

revision 2507 by maya, Tue May 13 14:40:15 2008 UTC revision 2508 by maya, Tue May 13 14:52:26 2008 UTC
# Line 739  void CLogPropPageDlg::OnOK() Line 739  void CLogPropPageDlg::OnOK()
739          time(&time_local);          time(&time_local);
740          tm_local = localtime(&time_local);          tm_local = localtime(&time_local);
741          // 時刻文字列に変換          // 時刻文字列に変換
742          if (strftime(buf2, sizeof(buf2), buf, tm_local) == 0) {          if (strlen(buf) != 0 && strftime(buf2, sizeof(buf2), buf, tm_local) == 0) {
743                  get_lang_msg("MSG_ERROR", uimsg, sizeof(uimsg), "ERROR", ts.UILanguageFile);                  get_lang_msg("MSG_ERROR", uimsg, sizeof(uimsg), "ERROR", ts.UILanguageFile);
744                  get_lang_msg("MSG_LOGFILE_TOOLONG_ERROR", ts.UIMsg, sizeof(ts.UIMsg),                  get_lang_msg("MSG_LOGFILE_TOOLONG_ERROR", ts.UIMsg, sizeof(ts.UIMsg),
745                               "The log file name is too long.", ts.UILanguageFile);                               "The log file name is too long.", ts.UILanguageFile);

Legend:
Removed from v.2507  
changed lines
  Added in v.2508

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