1
0
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:
Jacob Nevins 2002-03-24 11:47:41 +00:00
parent 368244dbae
commit 4113193a7e

View File

@ -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);