From: Jarkko Hietaniemi Date: Sat, 1 Dec 2001 18:45:32 +0000 (+0000) Subject: Make reality agree with the comment. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c6d775246094676e653f3d945298637b77d1b600;p=p5sagit%2Fp5-mst-13.2.git Make reality agree with the comment. p4raw-id: //depot/perl@13411 --- diff --git a/ext/I18N/Langinfo/Langinfo.xs b/ext/I18N/Langinfo/Langinfo.xs index 314e891..47223d7 100644 --- a/ext/I18N/Langinfo/Langinfo.xs +++ b/ext/I18N/Langinfo/Langinfo.xs @@ -20,7 +20,7 @@ langinfo(code) CODE: #ifdef HAS_NL_LANGINFO char *s; - if (code) { /* bold assumption: all valid langinfo codes > 0 */ + if (code > 0) { /* bold assumption: all valid langinfo codes > 0 */ #ifdef _MAXSTRMSG if (code >= _MAXSTRMSG RETVAL = &PL_sv_undef;