mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-11 16:18:06 -05:00
Fix apparent cut'n'paste error in new printing code. (Wasn't breaking anything,
to my knowledge.) [originally from svn r1601]
This commit is contained in:
parent
368244dbae
commit
4113193a7e
1
windlg.c
1
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user