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 --- windows/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'windows') diff --git a/windows/gui.c b/windows/gui.c index a3ce3ff8d..908cefaa6 100644 --- a/windows/gui.c +++ b/windows/gui.c @@ -2493,7 +2493,7 @@ gui_selection_traverse_handler(const char *text, const char *space_text, size_t space_length) { - bool add_space = box != NULL ? box->space : false; + bool add_space = box != NULL ? box->space != 0 : false; if (space_text != NULL && space_length > 0) { if (!gui_add_to_clipboard(space_text, space_length, false)) { -- cgit v1.2.3