Browse Subversion Repository
Diff of /trunk/teraterm/ttpcmn/ttcmn.c
Parent Directory
| Revision Log
| Patch
| 88 |
char path[1024]; |
char path[1024]; |
| 89 |
STARTUPINFO si; |
STARTUPINFO si; |
| 90 |
PROCESS_INFORMATION pi; |
PROCESS_INFORMATION pi; |
| 91 |
|
char uimsg[MAX_UIMSG]; |
| 92 |
|
int ret; |
| 93 |
|
|
| 94 |
|
get_lang_msg("MSG_TT_TAKE_EFFECT", uimsg, sizeof(uimsg), |
| 95 |
|
"This option takes effect the next time a session is started.\n" |
| 96 |
|
"Are you sure that you want to relaunch Tera Term?" |
| 97 |
|
, ts->UILanguageFile); |
| 98 |
|
ret = MessageBox(hwnd, uimsg, "Tera Term: Configuration Warning", MB_YESNO | MB_ICONEXCLAMATION | MB_DEFBUTTON2); |
| 99 |
|
if (ret != IDYES) |
| 100 |
|
return; |
| 101 |
|
|
| 102 |
SendMessage(hwnd, WM_COMMAND, ID_SETUP_SAVE, 0); |
SendMessage(hwnd, WM_COMMAND, ID_SETUP_SAVE, 0); |
| 103 |
SendMessage(hwnd, WM_COMMAND, ID_FILE_EXIT, 0); |
// TODO: 自動終了させようとすると、アプリが落ちる場合がある。 |
| 104 |
|
//SendMessage(hwnd, WM_COMMAND, ID_FILE_EXIT, 0); |
| 105 |
|
|
| 106 |
if (GetModuleFileName(NULL, path, sizeof(path)) == 0) { |
if (GetModuleFileName(NULL, path, sizeof(path)) == 0) { |
| 107 |
return; |
return; |
|
|
Legend:
| Removed from v.4915 |
|
| changed lines |
| |
Added in v.4916 |
|
|
| |