HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f7945a
)
i18n: Don't use `!=' to compare SCMs.
author
Ludovic Courtès
<ludo@gnu.org>
Fri, 1 Jul 2011 13:29:51 +0000
(15:29 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Fri, 1 Jul 2011 13:29:51 +0000
(15:29 +0200)
* libguile/i18n.c (install_locale)[!USE_GNU_LOCALE_API]: Use
`SCM_UNBNDP' instead of `!='.
libguile/i18n.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/i18n.c
b/libguile/i18n.c
index
b22b332
..
f9ec723
100644
(file)
--- a/
libguile/i18n.c
+++ b/
libguile/i18n.c
@@
-400,7
+400,7
@@
install_locale (scm_t_locale locale)
account. */
category_mask |= locale->category_mask;
- if (
locale->base_locale != SCM_UNDEFINED
)
+ if (
!SCM_UNBNDP (locale->base_locale)
)
locale = (scm_t_locale) SCM_SMOB_DATA (locale->base_locale);
else
locale = NULL;