projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df5889
)
(mlanguage_code): On failure, return Mnil, not NULL.
author
handa
<handa>
Fri, 23 Jun 2006 07:25:00 +0000
(07:25 +0000)
committer
handa
<handa>
Fri, 23 Jun 2006 07:25:00 +0000
(07:25 +0000)
src/language.c
patch
|
blob
|
history
diff --git
a/src/language.c
b/src/language.c
index
b214db9
..
795791b
100644
(file)
--- 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;