diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-01 18:45:32 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-01 18:45:32 +0000 |
commit | c6d775246094676e653f3d945298637b77d1b600 (patch) | |
tree | 08a733aa2f8750e019d439286f92f37b6636fb2c /ext/I18N | |
parent | b27961e54c1afdd795823ec3e61ccca0718baf23 (diff) | |
download | perl-c6d775246094676e653f3d945298637b77d1b600.tar.gz |
Make reality agree with the comment.
p4raw-id: //depot/perl@13411
Diffstat (limited to 'ext/I18N')
-rw-r--r-- | ext/I18N/Langinfo/Langinfo.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/I18N/Langinfo/Langinfo.xs b/ext/I18N/Langinfo/Langinfo.xs index 314e8918b3..47223d7a28 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; |