summaryrefslogtreecommitdiff
path: root/beos/beos_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'beos/beos_window.cpp')
-rw-r--r--beos/beos_window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp
index ace697930..9a65f4832 100644
--- a/beos/beos_window.cpp
+++ b/beos/beos_window.cpp
@@ -1888,7 +1888,7 @@ static bool copy_handler(const char *text, size_t length, struct box *box,
run->font = font;
run->color = nsbeos_rgb_colour(nscss_color_to_ns(box->style->color));
current_selection_textruns.AddItem(run);
- space = box->space;
+ space = box->space != 0;
}
/* add the text from this box */