X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8eebd22198133e95ce25af1dd15dead0a5389371..a10c20dda1e39bd77a8fc064d76defd162c5ceac:/windlg.c diff --git a/windlg.c b/windlg.c index f4a63de3..b512b1cd 100644 --- a/windlg.c +++ b/windlg.c @@ -1242,7 +1242,6 @@ static void init_dlg_ctrls(HWND hwnd, int keepsess) int i, nprinters; printer_enum *pe; pe = printer_start_enum(&nprinters); - strcpy(cfg.line_codepage, cp_name(decode_codepage(cfg.line_codepage))); SendDlgItemMessage(hwnd, IDC_PRINTER, CB_RESETCONTENT, 0, 0); SendDlgItemMessage(hwnd, IDC_PRINTER, CB_ADDSTRING, 0, (LPARAM) PRINTER_DISABLED_STRING);