Develop and Download Open Source Software

Browse CVS Repository

Diff of /ttssh2/teraterm/source/teraterm/filesys.cpp

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

revision 1.14 by maya, Thu May 31 14:39:05 2007 UTC revision 1.15 by maya, Wed Jun 6 14:02:53 2007 UTC
# Line 177  static PProtoDlg PtDlg = NULL; Line 177  static PProtoDlg PtDlg = NULL;
177  BOOL OpenFTDlg(PFileVar fv)  BOOL OpenFTDlg(PFileVar fv)
178  {  {
179    PFileTransDlg FTDlg;    PFileTransDlg FTDlg;
180  #ifdef I18N  #ifndef NO_I18N
181    HWND HFTDlg;    HWND HFTDlg;
182  #endif  #endif
183    
# Line 185  BOOL OpenFTDlg(PFileVar fv) Line 185  BOOL OpenFTDlg(PFileVar fv)
185        
186    if (FTDlg!=NULL)    if (FTDlg!=NULL)
187    {    {
188  #ifdef I18N  #ifndef NO_I18N
189      FTDlg->Create(fv, &cv, &ts);      FTDlg->Create(fv, &cv, &ts);
190  #else  #else
191      FTDlg->Create(fv, &cv);      FTDlg->Create(fv, &cv);
# Line 200  BOOL OpenFTDlg(PFileVar fv) Line 200  BOOL OpenFTDlg(PFileVar fv)
200    else    else
201      SendDlg = FTDlg; /* File send */      SendDlg = FTDlg; /* File send */
202    
203  #ifdef I18N  #ifndef NO_I18N
204    HFTDlg=FTDlg->GetSafeHwnd();    HFTDlg=FTDlg->GetSafeHwnd();
205    
206    GetDlgItemText(HFTDlg, IDC_TRANS_FILENAME, ts.UIMsg, sizeof(ts.UIMsg));    GetDlgItemText(HFTDlg, IDC_TRANS_FILENAME, ts.UIMsg, sizeof(ts.UIMsg));
# Line 535  void CommentLogToFile(char *buf, int siz Line 535  void CommentLogToFile(char *buf, int siz
535          DWORD wrote;          DWORD wrote;
536    
537          if (LogVar == NULL || !LogVar->FileOpen) {          if (LogVar == NULL || !LogVar->FileOpen) {
538  #ifdef I18N  #ifndef NO_I18N
539                  char uimsg[MAX_UIMSG];                  char uimsg[MAX_UIMSG];
540                  strcpy(uimsg, "ERROR");                  strcpy(uimsg, "ERROR");
541                  get_lang_msg("MSG_ERROR", uimsg, ts.UILanguageFile);                  get_lang_msg("MSG_ERROR", uimsg, ts.UILanguageFile);
# Line 901  BOOL OpenProtoDlg(PFileVar fv, int IdPro Line 901  BOOL OpenProtoDlg(PFileVar fv, int IdPro
901  {  {
902    int vsize;    int vsize;
903    PProtoDlg pd;    PProtoDlg pd;
904  #ifdef I18N  #ifndef NO_I18N
905    HWND Hpd;    HWND Hpd;
906  #endif  #endif
907    
# Line 955  BOOL OpenProtoDlg(PFileVar fv, int IdPro Line 955  BOOL OpenProtoDlg(PFileVar fv, int IdPro
955      ProtoVar = NULL;      ProtoVar = NULL;
956      return FALSE;      return FALSE;
957    }    }
958  #ifdef I18N  #ifndef NO_I18N
959    pd->Create(fv,&ts);    pd->Create(fv,&ts);
960  #else  #else
961    pd->Create(fv);    pd->Create(fv);
962  #endif  #endif
963    
964  #ifdef I18N  #ifndef NO_I18N
965    Hpd=pd->GetSafeHwnd();    Hpd=pd->GetSafeHwnd();
966    
967    GetDlgItemText(Hpd, IDC_PROT_FILENAME, ts.UIMsg, sizeof(ts.UIMsg));    GetDlgItemText(Hpd, IDC_PROT_FILENAME, ts.UIMsg, sizeof(ts.UIMsg));
# Line 1300  void QVStart(int mode) Line 1300  void QVStart(int mode)
1300    
1301  /*  /*
1302   * $Log$   * $Log$
1303     * Revision 1.15  2007/06/06 14:02:53  maya
1304     * プリプロセッサにより構造体が変わってしまうので、INET6 と I18N の #define を逆転させた。
1305     *
1306   * Revision 1.14  2007/05/31 14:39:05  maya   * Revision 1.14  2007/05/31 14:39:05  maya
1307   * 接続時に自動的にログ採取を開始できるようにした。   * 接続時に自動的にログ採取を開始できるようにした。
1308   *   *

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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