From: handa Date: Fri, 23 Jun 2006 07:25:00 +0000 (+0000) Subject: (mlanguage_code): On failure, return Mnil, not NULL. X-Git-Tag: REL-1-3-4~163 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5042620d70d6c796334bc8873e68842090b5c162;p=m17n%2Fm17n-lib.git (mlanguage_code): On failure, return Mnil, not NULL. --- diff --git a/src/language.c b/src/language.c index b214db9..795791b 100644 --- a/src/language.c +++ b/src/language.c @@ -337,9 +337,9 @@ mlanguage_code (MSymbol language, int len) MSymbol code; if (! plist) - return NULL; + return Mnil; if (! MPLIST_SYMBOL_P (plist)) - return NULL; + return Mnil; code = MPLIST_SYMBOL (plist); if (len == 3) return code;