Changed standout character representation so that characters are
[unix-history] / usr / src / lib / libcurses / overwrite.c
index f10f979..c53ab7d 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)overwrite.c        5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)overwrite.c        5.8 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <ctype.h>
 #endif /* not lint */
 
 #include <ctype.h>
@@ -41,6 +41,9 @@ overwrite(win1, win2)
                bcopy(&win1->lines[y - win1->begy]->line[startx - win1->begx],
                    &win2->lines[y - win2->begy]->line[startx - win2->begx], 
                    x);
                bcopy(&win1->lines[y - win1->begy]->line[startx - win1->begx],
                    &win2->lines[y - win2->begy]->line[startx - win2->begx], 
                    x);
+               bcopy(&win1->lines[y - win1->begy]->standout[startx - win1->begx],
+                   &win2->lines[y - win2->begy]->standout[startx - win2->begx], 
+                   x);
                touchline(win2, y, startx - win2->begx, endx - win2->begx);
        }
        return (OK);
                touchline(win2, y, startx - win2->begx, endx - win2->begx);
        }
        return (OK);