mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 13:30:26 +02:00
Use `scm_is_eq' in load.c.
* libguile/load.c (is_file_name_separator): Use `scm_is_eq' instead of `=='.
This commit is contained in:
parent
0c8a2c380d
commit
e6a7a86d7e
1 changed files with 2 additions and 2 deletions
|
@ -456,10 +456,10 @@ scm_c_string_has_an_ext (char *str, size_t len, SCM extensions)
|
|||
static int
|
||||
is_file_name_separator (SCM c)
|
||||
{
|
||||
if (c == SCM_MAKE_CHAR ('/'))
|
||||
if (scm_is_eq (c, SCM_MAKE_CHAR ('/')))
|
||||
return 1;
|
||||
#ifdef __MINGW32__
|
||||
if (c == SCM_MAKE_CHAR ('\\'))
|
||||
if (scm_is_eq (c, SCM_MAKE_CHAR ('\\')))
|
||||
return 1;
|
||||
#endif
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue