Let midori_view_get_selected_text work as expected again

This commit is contained in:
Enrico Tröger 2009-02-12 22:37:08 +01:00 committed by Christian Dywan
parent 6f0fc8cf29
commit 45b4747868

View file

@ -1779,8 +1779,7 @@ 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 view->selected_text;
return NULL;
}