aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index bd953fca7..82e13203d 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -725,7 +725,7 @@ notebook_drag_data_received_cb (GtkWidget* widget, GdkDragContext *context,
char **split;
/* URL_TYPE has format: url \n title */
- split = g_strsplit (selection_data->data, "\n", 2);
+ split = g_strsplit ((const gchar *)selection_data->data, "\n", 1);
if (split != NULL && split[0] != NULL && split[0][0] != '\0')
{
ephy_link_open (EPHY_LINK (notebook), split[0], tab,