(mlanguage_code): On failure, return Mnil, not NULL.
authorhanda <handa>
Fri, 23 Jun 2006 07:25:00 +0000 (07:25 +0000)
committerhanda <handa>
Fri, 23 Jun 2006 07:25:00 +0000 (07:25 +0000)
src/language.c

index b214db9..795791b 100644 (file)
@@ -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;