From de688b59e1fb3403e5b291c30dc81064e4452678 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 6 Mar 2011 18:04:13 +0000 Subject: Fix text selection svn path=/trunk/netsurf/; revision=11927 --- gtk/selection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') 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) { -- cgit v1.2.3