| 3222 |
OPENFILENAME params; |
OPENFILENAME params; |
| 3223 |
char fullname_buf[2048] = "ssh_known_hosts"; |
char fullname_buf[2048] = "ssh_known_hosts"; |
| 3224 |
|
|
| 3225 |
params.lStructSize = sizeof(OPENFILENAME); |
params.lStructSize = get_OPENFILENAME_SIZE(); |
| 3226 |
params.hwndOwner = parent; |
params.hwndOwner = parent; |
| 3227 |
params.lpstrFilter = NULL; |
params.lpstrFilter = NULL; |
| 3228 |
params.lpstrCustomFilter = NULL; |
params.lpstrCustomFilter = NULL; |
| 3940 |
OPENFILENAME ofn; |
OPENFILENAME ofn; |
| 3941 |
|
|
| 3942 |
ZeroMemory(&ofn, sizeof(ofn)); |
ZeroMemory(&ofn, sizeof(ofn)); |
| 3943 |
ofn.lStructSize = sizeof(OPENFILENAME); |
ofn.lStructSize = get_OPENFILENAME_SIZE(); |
| 3944 |
ofn.hwndOwner = dlg; |
ofn.hwndOwner = dlg; |
| 3945 |
#if 0 |
#if 0 |
| 3946 |
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), |
| 4652 |
|
|
| 4653 |
// saving file dialog |
// saving file dialog |
| 4654 |
ZeroMemory(&ofn, sizeof(ofn)); |
ZeroMemory(&ofn, sizeof(ofn)); |
| 4655 |
ofn.lStructSize = sizeof(ofn); |
ofn.lStructSize = get_OPENFILENAME_SIZE(); |
| 4656 |
ofn.hwndOwner = dlg; |
ofn.hwndOwner = dlg; |
| 4657 |
switch (public_key.type) { |
switch (public_key.type) { |
| 4658 |
case KEY_RSA1: |
case KEY_RSA1: |
| 4868 |
|
|
| 4869 |
// saving file dialog |
// saving file dialog |
| 4870 |
ZeroMemory(&ofn, sizeof(ofn)); |
ZeroMemory(&ofn, sizeof(ofn)); |
| 4871 |
ofn.lStructSize = sizeof(ofn); |
ofn.lStructSize = get_OPENFILENAME_SIZE(); |
| 4872 |
ofn.hwndOwner = dlg; |
ofn.hwndOwner = dlg; |
| 4873 |
switch (private_key.type) { |
switch (private_key.type) { |
| 4874 |
case KEY_RSA1: |
case KEY_RSA1: |