1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

i18n: Don't use `!=' to compare SCMs.

* libguile/i18n.c (install_locale)[!USE_GNU_LOCALE_API]: Use
  `SCM_UNBNDP' instead of `!='.
This commit is contained in:
Ludovic Courtès 2011-07-01 15:29:51 +02:00
parent 1f7945a768
commit e780c14fd0

View file

@ -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;