From: simon Date: Tue, 9 Nov 1999 14:20:51 +0000 (+0000) Subject: Should be able to switch line disciplines mid-session X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/638787a8dca15282e9fe329087865d4a8f8c4047 Should be able to switch line disciplines mid-session git-svn-id: svn://svn.tartarus.org/sgt/putty@288 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/window.c b/window.c index a636ac5d..0a688573 100644 --- 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;