summaryrefslogtreecommitdiff
path: root/ext/I18N
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-01 18:47:07 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-01 18:47:07 +0000
commit03c0f8c07963f685780114c2f82dda1f61150821 (patch)
tree44ca5511fa1c573aa6bbf6a1278ccbe2f23fdf1f /ext/I18N
parentc6d775246094676e653f3d945298637b77d1b600 (diff)
downloadperl-03c0f8c07963f685780114c2f82dda1f61150821.tar.gz
Typo (a missing endparen) and thinko (_MAXSTRMSG is
the max, not max plus one) p4raw-id: //depot/perl@13412
Diffstat (limited to 'ext/I18N')
-rw-r--r--ext/I18N/Langinfo/Langinfo.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/I18N/Langinfo/Langinfo.xs b/ext/I18N/Langinfo/Langinfo.xs
index 47223d7a28..3a97dafa17 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