Skip to content
Snippets Groups Projects
Commit de9e582a authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #10778: calltree: fix trailing > character when making call from history

parent 027531bf
No related branches found
No related tags found
Loading
...@@ -372,6 +372,10 @@ static gchar *clean_display_number(gchar *name) ...@@ -372,6 +372,10 @@ static gchar *clean_display_number(gchar *name)
name += (sizeof(SIP_PREFIX) - 1); name += (sizeof(SIP_PREFIX) - 1);
else if (g_str_has_prefix(name, SIPS_PREFIX)) else if (g_str_has_prefix(name, SIPS_PREFIX))
name += (sizeof(SIPS_PREFIX) - 1); name += (sizeof(SIPS_PREFIX) - 1);
gchar * pos = g_strrstr(name, ">");
if (pos)
*pos = '\0';
return name; return name;
} }
...@@ -391,7 +395,8 @@ calltree_display_call_info(callable_obj_t * c, CallDisplayType display_type, con ...@@ -391,7 +395,8 @@ calltree_display_call_info(callable_obj_t * c, CallDisplayType display_type, con
} }
// Different display depending on type // Different display depending on type
gchar *name, *details = NULL; gchar *name = NULL;
gchar *details = NULL;
if (*c->_display_name) { if (*c->_display_name) {
name = c->_display_name; name = c->_display_name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment