From: Jacob Nevins Date: Sun, 24 Mar 2002 11:47:41 +0000 (+0000) Subject: Fix apparent cut'n'paste error in new printing code. (Wasn't breaking anything, X-Git-Tag: 0.53~99 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=4113193a7e35a176995ff2ca23330fa83fe8c2d9;p=PuTTY.git Fix apparent cut'n'paste error in new printing code. (Wasn't breaking anything, to my knowledge.) [originally from svn r1601] --- 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);