summaryrefslogtreecommitdiff
path: root/app/xterm/print.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-09-19 00:03:37 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-09-19 00:03:37 +0000
commited8b3b16aefdd3a68f7633703ff8db5152b47a7d (patch)
tree9d23f12ce4c87a8433c3cad2cfe8a08028076ca0 /app/xterm/print.c
parentcc709574dee9e1fab08578d16d3e008705a4f215 (diff)
Update to xterm 248, fixing several bugs including a regression with
copy-and-paste. Works for martynas@, ok matthieu@
Diffstat (limited to 'app/xterm/print.c')
-rw-r--r--app/xterm/print.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/xterm/print.c b/app/xterm/print.c
index 7200e3eb6..3310ba065 100644
--- a/app/xterm/print.c
+++ b/app/xterm/print.c
@@ -1,4 +1,4 @@
-/* $XTermId: print.c,v 1.107 2009/08/31 00:37:04 tom Exp $ */
+/* $XTermId: print.c,v 1.109 2009/09/10 09:06:30 tom Exp $ */
/************************************************************
@@ -162,9 +162,6 @@ printLine(XtermWidget xw, int row, unsigned chr)
}
for (col = 0; col < last; col++) {
ch = ld->charData[col];
- if_OPT_WIDE_CHARS(screen, {
- ch = XTERM_CELL(row, col);
- });
#if OPT_PRINT_COLORS
if (screen->colorMode) {
if (screen->print_attributes > 1) {
@@ -221,7 +218,7 @@ printLine(XtermWidget xw, int row, unsigned chr)
if_OPT_WIDE_CHARS(screen, {
size_t off;
for_each_combData(off, ld) {
- ch = XTERM_CELLC(row, col, off);
+ ch = ld->combData[off][col];
if (ch == 0)
break;
charToPrinter(xw, ch);