summaryrefslogtreecommitdiff
path: root/pcre_printint.src
diff options
context:
space:
mode:
Diffstat (limited to 'pcre_printint.src')
-rw-r--r--pcre_printint.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_printint.src b/pcre_printint.src
index 90381ed..d51cbe0 100644
--- a/pcre_printint.src
+++ b/pcre_printint.src
@@ -126,7 +126,7 @@ for (i = _pcre_utt_size - 1; i >= 0; i--)
{
if (ptype == _pcre_utt[i].type && pvalue == _pcre_utt[i].value) break;
}
-return (i >= 0)? _pcre_utt[i].name : "??";
+return (i >= 0)? _pcre_utt_names + _pcre_utt[i].name_offset : "??";
#else
/* It gets harder and harder to shut off unwanted compiler warnings. */
ptype = ptype * pvalue;