aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c3
-rw-r--r--src/w32proc.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index a730cb4a8ff..7993a59e721 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -3791,7 +3791,8 @@ str_collate (Lisp_Object s1, Lisp_Object s2,
3791#ifdef WINDOWSNT 3791#ifdef WINDOWSNT
3792int 3792int
3793str_collate (Lisp_Object s1, Lisp_Object s2, 3793str_collate (Lisp_Object s1, Lisp_Object s2,
3794{ Lisp_Object locale, Lisp_Object ignore_case) 3794 Lisp_Object locale, Lisp_Object ignore_case)
3795{
3795 3796
3796 char *loc = STRINGP (locale) ? SSDATA (locale) : NULL; 3797 char *loc = STRINGP (locale) ? SSDATA (locale) : NULL;
3797 3798
diff --git a/src/w32proc.c b/src/w32proc.c
index ed62de02433..ff7a2caed08 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -3288,7 +3288,7 @@ w32_compare_strings (const char *s1, const char *s2, char *locname)
3288 CODESET part of LOCNAME. In particular, ls-lisp will want 3288 CODESET part of LOCNAME. In particular, ls-lisp will want
3289 NORM_IGNORESYMBOLS and sometimes LINGUISTIC_IGNORECASE or 3289 NORM_IGNORESYMBOLS and sometimes LINGUISTIC_IGNORECASE or
3290 NORM_IGNORECASE. */ 3290 NORM_IGNORECASE. */
3291 val = pCompareStringW (lcid, 0, string1_w, -1, string2_w, -1); 3291 val = pCompareStringW (lcid, NORM_IGNORESYMBOLS, string1_w, -1, string2_w, -1);
3292 SAFE_FREE (); 3292 SAFE_FREE ();
3293 if (!val) 3293 if (!val)
3294 { 3294 {