Commit 9d432ec28c5e7a597e46f27f561950fa1cf1d986
1 parent
6904622d
Exists in
master
and in
1 other branch
Implementing "save as image".
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/selection/pixbuf.c
... | ... | @@ -111,7 +111,7 @@ GdkPixbuf * v3270_get_selection_as_pixbuf(v3270 * terminal, const GList *selecti |
111 | 111 | v3270_draw_element( |
112 | 112 | cr, |
113 | 113 | block->contents[src].chr, |
114 | - block->contents[src].attribute.visual, | |
114 | + block->contents[src].attribute.visual & ~LIB3270_ATTR_SELECTED, | |
115 | 115 | terminal->host, |
116 | 116 | &terminal->font, |
117 | 117 | &rect, |
... | ... | @@ -119,6 +119,7 @@ GdkPixbuf * v3270_get_selection_as_pixbuf(v3270 * terminal, const GList *selecti |
119 | 119 | ); |
120 | 120 | |
121 | 121 | } |
122 | + src++; | |
122 | 123 | rect.x += rect.width; |
123 | 124 | } |
124 | 125 | ... | ... |