diff --git a/midori/midori-view.c b/midori/midori-view.c index 7d15e412..697974ce 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1779,9 +1779,8 @@ midori_view_get_selected_text (MidoriView* view) g_return_val_if_fail (MIDORI_IS_VIEW (view), NULL); if (midori_view_has_selection (view)) - return midori_view_get_selected_text (view); - else - return NULL; + return view->selected_text; + return NULL; } /**