projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b27961e
)
Make reality agree with the comment.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 1 Dec 2001 18:45:32 +0000
(18:45 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 1 Dec 2001 18:45:32 +0000
(18:45 +0000)
p4raw-id: //depot/perl@13411
ext/I18N/Langinfo/Langinfo.xs
patch
|
blob
|
history
diff --git
a/ext/I18N/Langinfo/Langinfo.xs
b/ext/I18N/Langinfo/Langinfo.xs
index
314e891
..
47223d7
100644
(file)
--- 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;