Commit 0c8d571044b8454892e70fd09c8e42aeb26d4519

Authored by Perry Werneck
1 parent 91d5b430
Exists in master and in 1 other branch develop

Fixing copy-as-table method.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/clipboard/table.c
@@ -54,7 +54,7 @@ static gboolean hasDataOnColumn(v3270 * terminal, unsigned int col) @@ -54,7 +54,7 @@ static gboolean hasDataOnColumn(v3270 * terminal, unsigned int col)
54 54
55 for(row = 0; row < block->bounds.height; row++) 55 for(row = 0; row < block->bounds.height; row++)
56 { 56 {
57 - if(!isspace(block->contents[pos].chr)) 57 + if( (block->contents[pos].flags & LIB3270_ATTR_SELECTED) && !isspace(block->contents[pos].chr))
58 { 58 {
59 return TRUE; 59 return TRUE;
60 } 60 }