diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-01-30 13:07:12 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-01-30 13:07:12 +0300 |
| commit | eff01c8846cc3323956ac140cbd140308e22d6f1 (patch) | |
| tree | e30c297eeb9e51adc47b9553bf7d16ed3b17d020 | |
| parent | e183525eec19956eef36e37ef217629640ce500a (diff) | |
fixes #4858 (Не переводится одна строчка в выпадающем списке протоколов прокси)
| -rw-r--r-- | src/mir_app/src/netlib_opts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/netlib_opts.cpp b/src/mir_app/src/netlib_opts.cpp index d4caab7c64..2f1ccbb487 100644 --- a/src/mir_app/src/netlib_opts.cpp +++ b/src/mir_app/src/netlib_opts.cpp @@ -87,7 +87,7 @@ static void EnableMultipleControls(HWND hwndDlg, const UINT *controls, int cCont static void AddProxyTypeItem(HWND hwndDlg, int type, int selectType)
{
- int i = SendDlgItemMessage(hwndDlg, IDC_PROXYTYPE, CB_ADDSTRING, 0, (LPARAM)(type == 0 ? TranslateW(szProxyTypes[type]) : szProxyTypes[type]));
+ int i = SendDlgItemMessage(hwndDlg, IDC_PROXYTYPE, CB_ADDSTRING, 0, (LPARAM)TranslateW(szProxyTypes[type]));
SendDlgItemMessage(hwndDlg, IDC_PROXYTYPE, CB_SETITEMDATA, i, type);
if (type == selectType)
SendDlgItemMessage(hwndDlg, IDC_PROXYTYPE, CB_SETCURSEL, i, 0);
|
