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 9358 by zmatsuo, Tue Aug 10 14:42:28 2021 UTC revision 9359 by zmatsuo, Sat Aug 14 03:26:30 2021 UTC
# Line 489  static INT_PTR CALLBACK LogFnHook(HWND D Line 489  static INT_PTR CALLBACK LogFnHook(HWND D
489          case WM_INITDIALOG: {          case WM_INITDIALOG: {
490                  work = (LogDlgWork_t *)lParam;                  work = (LogDlgWork_t *)lParam;
491                  TTTSet *pts = work->pts;                  TTTSet *pts = work->pts;
                 const char *UILanguageFile = pts->UILanguageFile;  
492                  SetWindowLongPtr(Dialog, DWLP_USER, (LONG_PTR)work);                  SetWindowLongPtr(Dialog, DWLP_USER, (LONG_PTR)work);
493                  ::DragAcceptFiles(Dialog, TRUE);                  ::DragAcceptFiles(Dialog, TRUE);
494    
495                  SetDlgTexts(Dialog, TextInfos, _countof(TextInfos), UILanguageFile);                  SetDlgTextsW(Dialog, TextInfos, _countof(TextInfos), pts->UILanguageFileW);
496                  SetI18nList("Tera Term", Dialog, IDC_TIMESTAMPTYPE, timestamp_list, _countof(timestamp_list),                  SetI18nListW("Tera Term", Dialog, IDC_TIMESTAMPTYPE, timestamp_list, _countof(timestamp_list),
497                                          UILanguageFile, 0);                                           pts->UILanguageFileW, 0);
498    
499                  SendDlgItemMessage(Dialog, IDC_TEXTCODING_DROPDOWN, CB_ADDSTRING, 0, (LPARAM)"UTF-8");                  SendDlgItemMessage(Dialog, IDC_TEXTCODING_DROPDOWN, CB_ADDSTRING, 0, (LPARAM)"UTF-8");
500                  SendDlgItemMessage(Dialog, IDC_TEXTCODING_DROPDOWN, CB_ADDSTRING, 0, (LPARAM)"UTF-16LE");                  SendDlgItemMessage(Dialog, IDC_TEXTCODING_DROPDOWN, CB_ADDSTRING, 0, (LPARAM)"UTF-16LE");

Legend:
Removed from v.9358  
changed lines
  Added in v.9359

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