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 3709 by maya, Sun Dec 6 15:14:26 2009 UTC revision 3819 by yutakapon, Wed Mar 24 04:28:46 2010 UTC
# Line 1026  BOOL OpenProtoDlg(PFileVar fv, int IdPro Line 1026  BOOL OpenProtoDlg(PFileVar fv, int IdPro
1026                          ((PXVar)ProtoVar)->XOpt = Opt1;                          ((PXVar)ProtoVar)->XOpt = Opt1;
1027                          ((PXVar)ProtoVar)->TextFlag = 1 - (Opt2 & 1);                          ((PXVar)ProtoVar)->TextFlag = 1 - (Opt2 & 1);
1028                          break;                          break;
1029                  case PROTO_YM:  // TBD                  case PROTO_YM:  
1030                          ((PYVar)ProtoVar)->YMode = Mode;                          ((PYVar)ProtoVar)->YMode = Mode;
1031                          ((PYVar)ProtoVar)->YOpt = Yopt1K;  // TBD                          ((PYVar)ProtoVar)->YOpt = Opt1;
1032                          break;                          break;
1033                  case PROTO_ZM:                  case PROTO_ZM:
1034                          ((PZVar)ProtoVar)->BinFlag = (Opt1 & 1) != 0;                          ((PZVar)ProtoVar)->BinFlag = (Opt1 & 1) != 0;
# Line 1296  void YMODEMStart(int mode) Line 1296  void YMODEMStart(int mode)
1296    
1297          if (mode==IdYSend)          if (mode==IdYSend)
1298          {          {
1299                  Opt = ts.XmodemBin;                  // ファイル転送時のオプションは"Yopt1K"に決め打ち。
1300                    // TODO: "Yopt1K", "YoptG", "YoptSingle"を区別したいならば、IDD_FOPTを拡張する必要あり。
1301                    Opt = Yopt1K;
1302                  FileVar->OpId = OpYSend;                  FileVar->OpId = OpYSend;
1303                  if (strlen(&(FileVar->FullName[FileVar->DirLen]))==0)                  if (strlen(&(FileVar->FullName[FileVar->DirLen]))==0)
1304                  {                  {
# Line 1306  void YMODEMStart(int mode) Line 1308  void YMODEMStart(int mode)
1308                                  ProtoEnd();                                  ProtoEnd();
1309                                  return;                                  return;
1310                          }                          }
1311                          ts.XmodemBin = Opt;                          //ts.XmodemBin = Opt;
1312                  }                  }
1313                  else                  else
1314                  (*SetFileVar)(FileVar);                  (*SetFileVar)(FileVar);

Legend:
Removed from v.3709  
changed lines
  Added in v.3819

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