summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontends/riscos/gui/url_bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/riscos/gui/url_bar.c b/frontends/riscos/gui/url_bar.c
index 63193a43f..ec21e9371 100644
--- a/frontends/riscos/gui/url_bar.c
+++ b/frontends/riscos/gui/url_bar.c
@@ -984,7 +984,7 @@ ro_gui_url_bar_click(struct url_bar *url_bar,
*/
if (pointer->buttons == wimp_DRAG_SELECT ||
pointer->buttons == wimp_DRAG_ADJUST) {
- if (ns_wimp_has_text_selection()) {
+ if (!ns_wimp_has_text_selection()) {
if (pointer->i == url_bar->text.icon) {
if (action != NULL) {
*action = TOOLBAR_URL_DRAG_URL;