diff options
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r-- | src/ephy-notebook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index 90a6dd8fe..9b6e04359 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -431,8 +431,8 @@ notebook_drag_data_received_cb (GtkWidget* widget, GdkDragContext *context, for (i = 0; uris[i] != NULL && i < INSANE_NUMBER_OF_URLS; i++) { - tab = ephy_link_open (EPHY_LINK (notebook), uris[i], - tab, i == 0 ? 0 : EPHY_LINK_NEW_TAB); + tab = ephy_link_open (EPHY_LINK (notebook), uris[i], tab, + (tab && i == 0) ? 0 : EPHY_LINK_NEW_TAB); } g_strfreev (uris); |