diff --git a/src/selection/pixbuf.c b/src/selection/pixbuf.c index 051be35..17edc63 100644 --- a/src/selection/pixbuf.c +++ b/src/selection/pixbuf.c @@ -111,7 +111,7 @@ GdkPixbuf * v3270_get_selection_as_pixbuf(v3270 * terminal, const GList *selecti v3270_draw_element( cr, block->contents[src].chr, - block->contents[src].attribute.visual, + block->contents[src].attribute.visual & ~LIB3270_ATTR_SELECTED, terminal->host, &terminal->font, &rect, @@ -119,6 +119,7 @@ GdkPixbuf * v3270_get_selection_as_pixbuf(v3270 * terminal, const GList *selecti ); } + src++; rect.x += rect.width; } -- libgit2 0.21.2