]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Should be able to switch line disciplines mid-session
authorSimon Tatham <anakin@pobox.com>
Tue, 9 Nov 1999 14:20:51 +0000 (14:20 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 9 Nov 1999 14:20:51 +0000 (14:20 +0000)
[originally from svn r288]

window.c

index a636ac5d13a89ee254742dd7dfaf5354c719df76..0a6885731187a98971bfb11a070676af238bd6eb 100644 (file)
--- a/window.c
+++ b/window.c
@@ -714,6 +714,7 @@ static int WINAPI WndProc (HWND hwnd, UINT message,
            und_mode = UND_FONT;
            init_fonts();
            sfree(logpal);
+           ldisc = (cfg.ldisc_term ? &ldisc_term : &ldisc_simple);
            if (pal)
                DeleteObject(pal);
            logpal = NULL;