From: Jarkko Hietaniemi Date: Sat, 1 Dec 2001 18:47:07 +0000 (+0000) Subject: Typo (a missing endparen) and thinko (_MAXSTRMSG is X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=03c0f8c07963f685780114c2f82dda1f61150821;p=p5sagit%2Fp5-mst-13.2.git Typo (a missing endparen) and thinko (_MAXSTRMSG is the max, not max plus one) p4raw-id: //depot/perl@13412 --- diff --git a/ext/I18N/Langinfo/Langinfo.xs b/ext/I18N/Langinfo/Langinfo.xs index 47223d7..3a97daf 100644 --- a/ext/I18N/Langinfo/Langinfo.xs +++ b/ext/I18N/Langinfo/Langinfo.xs @@ -22,7 +22,7 @@ langinfo(code) char *s; if (code > 0) { /* bold assumption: all valid langinfo codes > 0 */ #ifdef _MAXSTRMSG - if (code >= _MAXSTRMSG + if (code > _MAXSTRMSG) RETVAL = &PL_sv_undef; else #else