From 6c2f1a55be4cd937e7e87f2ffb875a22688fb01e Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 8 Dec 2012 21:42:23 -0700 Subject: [PATCH] intrpvar.h: Use #define instead of hard-coded number The number 12 is mysterious as to why we are using it otherwise. --- intrpvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intrpvar.h b/intrpvar.h index 52b45ba..96d9e5a 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -634,7 +634,7 @@ PERLVAR(I, utf8_charname_continue, SV *) PERLVAR(I, last_swash_hv, HV *) PERLVAR(I, last_swash_tmps, U8 *) PERLVAR(I, last_swash_slen, STRLEN) -PERLVARA(I, last_swash_key,12, U8) +PERLVARA(I, last_swash_key,UTF8_MAXBYTES-1, U8) PERLVAR(I, last_swash_klen, U8) /* Only needs to store 0-12 */ #ifdef FCRYPT -- 2.7.4