summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pluma/pluma-view.c b/pluma/pluma-view.c
index 2abf85c5..32418dbe 100644
--- a/pluma/pluma-view.c
+++ b/pluma/pluma-view.c
@@ -1862,7 +1862,7 @@ get_selected_text (GtkTextBuffer *doc, gchar **selected_text, gint *len)
if (!gtk_text_buffer_get_selection_bounds (doc, &start, &end))
{
if (len != NULL)
- len = 0;
+ *len = 0;
return FALSE;
}