Skip to content
Snippets Groups Projects
Commit d22fbf61 authored by Vivien Didelot's avatar Vivien Didelot Committed by Tristan Matthews
Browse files

gnome: fix last_uri assertion

Change-Id: Ifdb254786e192b5fadf71e14b7ac72d6eef4babd
parent de742e46
No related branches found
No related tags found
No related merge requests found
......@@ -1063,7 +1063,7 @@ static gchar *last_uri;
void
sflphone_toggle_screenshare(void)
{
gchar *resource = g_str_has_prefix(last_uri, "display://") ?
gchar *resource = last_uri && g_str_has_prefix(last_uri, "display://") ?
sflphone_get_active_video() :
sflphone_get_display();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment