]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commitdiff
Oops - that unscroll stuff was a little broken...
authorSimon Tatham <anakin@pobox.com>
Thu, 9 Dec 1999 17:10:28 +0000 (17:10 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 9 Dec 1999 17:10:28 +0000 (17:10 +0000)
git-svn-id: http://svn.tartarus.org/sgt/putty@348 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index 01fe663c40e7d470f17d5b464c5ec67f46cc0f3c..d07f5937fc013f00bf8b2a606b75b4e1303492b1 100644 (file)
@@ -150,7 +150,7 @@ void term_update(void) {
     Context ctx;
     ctx = get_ctx();
     if (ctx) {
-        if ( (seen_key_event && (unscroll_event & US_KEY)) &&
+        if ( (seen_key_event && (unscroll_event & US_KEY)) ||
             (seen_disp_event && (unscroll_event & US_DISP)) ) {
            disptop = scrtop;
            seen_disp_event = seen_key_event = 0;