From 5042620d70d6c796334bc8873e68842090b5c162 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 23 Jun 2006 07:25:00 +0000 Subject: [PATCH] (mlanguage_code): On failure, return Mnil, not NULL. --- src/language.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.4