Improve debug log format in presence of templates

pull/1/merge
Behdad Esfahbod 12 years ago
parent 2c53bd3c3e
commit adf7758a27
  1. 6
      src/hb-private.hh

@ -588,7 +588,11 @@ _hb_debug_msg_va (const char *what,
} else
fprintf (stderr, " " VRBAR LBAR);
if (func) {
if (func)
{
/* Skip "typename" */
if (0 == strncmp (func, "typename ", 9))
func += 9;
/* Skip return type */
const char *space = strchr (func, ' ');
if (space)

Loading…
Cancel
Save