Improve debug log format in presence of templates
This commit is contained in:
parent
2c53bd3c3e
commit
adf7758a27
|
@ -588,7 +588,11 @@ _hb_debug_msg_va (const char *what,
|
||||||
} else
|
} else
|
||||||
fprintf (stderr, " " VRBAR LBAR);
|
fprintf (stderr, " " VRBAR LBAR);
|
||||||
|
|
||||||
if (func) {
|
if (func)
|
||||||
|
{
|
||||||
|
/* Skip "typename" */
|
||||||
|
if (0 == strncmp (func, "typename ", 9))
|
||||||
|
func += 9;
|
||||||
/* Skip return type */
|
/* Skip return type */
|
||||||
const char *space = strchr (func, ' ');
|
const char *space = strchr (func, ' ');
|
||||||
if (space)
|
if (space)
|
||||||
|
|
Loading…
Reference in New Issue