summaryrefslogtreecommitdiff
path: root/riscos/textselection.c
diff options
context:
space:
mode:
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) {