diff options
author | phantom <phantom@FreeBSD.org> | 2001-02-12 08:56:39 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2001-02-12 08:56:39 +0000 |
commit | 6b6dc9eade6ff98ed279e5ef748f21d97400fdd5 (patch) | |
tree | 0ddd8257e2ebbc946e49d474a07b192d31e1e05a /lib/libc/locale/lmessages.c | |
parent | 1aaea1d55b79a0677db8d44a31ded8bf73ac7488 (diff) | |
download | FreeBSD-src-6b6dc9eade6ff98ed279e5ef748f21d97400fdd5.zip FreeBSD-src-6b6dc9eade6ff98ed279e5ef748f21d97400fdd5.tar.gz |
Make comparsions more clear (per style(9))
Diffstat (limited to 'lib/libc/locale/lmessages.c')
-rw-r--r-- | lib/libc/locale/lmessages.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/lmessages.c b/lib/libc/locale/lmessages.c index c4fb0e8..99c2adf 100644 --- a/lib/libc/locale/lmessages.c +++ b/lib/libc/locale/lmessages.c @@ -55,14 +55,14 @@ __messages_load_locale(const char *name) { ret = __part_load_locale(name, &_messages_using_locale, messages_locale_buf, "LC_MESSAGES", LCMESSAGES_SIZE_FULL, (const char **)&_messages_locale); - if (!ret) { + if (ret == 0) { /* Assume that we have incomplete locale file (without * "yesstr" and "nostr" declared. Try it also. */ ret = __part_load_locale(name, &_messages_using_locale, messages_locale_buf, "LC_MESSAGES", LCMESSAGES_SIZE_MIN, (const char **)&_messages_locale); - if (!ret) { + if (ret == 0) { _messages_locale.yesstr = empty; _messages_locale.nostr = empty; } |