diff options
Diffstat (limited to 'gtk/selection.c')
-rw-r--r-- | gtk/selection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/selection.c b/gtk/selection.c index 3ffd0db91..57dc0e453 100644 --- a/gtk/selection.c +++ b/gtk/selection.c @@ -50,7 +50,7 @@ bool copy_handler(const char *text, size_t length, struct box *box, void *handle, const char *whitespace_text, size_t whitespace_length) { - bool add_space = box != NULL ? box->space : false; + bool add_space = box != NULL ? box->space != 0 : false; /* add any whitespace which precedes the text from this box */ if (whitespace_text != NULL && whitespace_length > 0) { |