mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +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:
parent
1f7945a768
commit
e780c14fd0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue