Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/addsetting.cpp
Parent Directory
| Revision Log
| Patch
| 697 |
case IDC_VIEWLOG_PATH | (BN_CLICKED << 16): |
case IDC_VIEWLOG_PATH | (BN_CLICKED << 16): |
| 698 |
{ |
{ |
| 699 |
OPENFILENAME ofn; |
OPENFILENAME ofn; |
|
OSVERSIONINFO osvi; |
|
| 700 |
|
|
| 701 |
ZeroMemory(&ofn, sizeof(ofn)); |
ZeroMemory(&ofn, sizeof(ofn)); |
| 702 |
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); |
ofn.lStructSize = get_OPENFILENAME_SIZE(); |
|
GetVersionEx(&osvi); |
|
|
if (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT && |
|
|
osvi.dwMajorVersion >= 5) { |
|
|
ofn.lStructSize = sizeof(OPENFILENAME); |
|
|
} |
|
|
else { |
|
|
ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400; |
|
|
} |
|
| 703 |
ofn.hwndOwner = GetSafeHwnd(); |
ofn.hwndOwner = GetSafeHwnd(); |
| 704 |
get_lang_msg("FILEDLG_SELECT_LOGVIEW_APP_FILTER", ts.UIMsg, sizeof(ts.UIMsg), |
get_lang_msg("FILEDLG_SELECT_LOGVIEW_APP_FILTER", ts.UIMsg, sizeof(ts.UIMsg), |
| 705 |
"exe(*.exe)\\0*.exe\\0all(*.*)\\0*.*\\0\\0", ts.UILanguageFile); |
"exe(*.exe)\\0*.exe\\0all(*.*)\\0*.*\\0\\0", ts.UILanguageFile); |
|
|
Legend:
| Removed from v.2558 |
|
| changed lines |
| |
Added in v.2572 |
|
|
| |