summaryrefslogtreecommitdiff
path: root/riscos/textselection.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-03-06 18:04:13 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-03-06 18:04:13 +0000
commitde688b59e1fb3403e5b291c30dc81064e4452678 (patch)
tree3993cbd1d5c342668682e9174fb78cf9719e3983 /riscos/textselection.c
parentaa35550b86382788d50d95425cbac511c13ec5ab (diff)
downloadnetsurf-de688b59e1fb3403e5b291c30dc81064e4452678.tar.gz
netsurf-de688b59e1fb3403e5b291c30dc81064e4452678.tar.bz2
Fix text selection
svn path=/trunk/netsurf/; revision=11927
Diffstat (limited to 'riscos/textselection.c')
-rw-r--r--riscos/textselection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/textselection.c b/riscos/textselection.c
index 1f3809f50..2aa5b9239 100644
--- a/riscos/textselection.c
+++ b/riscos/textselection.c
@@ -208,7 +208,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) {