]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Ahem, and restore the missing & from that checkin. Arrgh.
authorSimon Tatham <anakin@pobox.com>
Tue, 28 Jan 2003 09:30:14 +0000 (09:30 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 28 Jan 2003 09:30:14 +0000 (09:30 +0000)
[originally from svn r2741]

terminal.c

index 6e056467dfb21f3dc4e7391bc706f99cfefbd376..8736a293f5823c235ba09ee055eb3335ed917fe2 100644 (file)
@@ -976,7 +976,7 @@ static void erase_lots(Terminal *term,
     while (poslt(start, end)) {
        if (start.x == term->cols) {
             if (!erase_lattr)
-                ldata[start.x] = ~(LATTR_WRAPPED | LATTR_WRAPPED2);
+                ldata[start.x] &= ~(LATTR_WRAPPED | LATTR_WRAPPED2);
             else
                 ldata[start.x] = LATTR_NORM;
         } else {