Mercurial > emacs
comparison src/xfaces.c @ 46478:d6b51ec01987
(xstricmp): String pointer args now point to const.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Tue, 16 Jul 2002 19:49:19 +0000 |
parents | 40db0673e6f0 |
children | 71e205b50a3e |
comparison
equal
deleted
inserted
replaced
46477:1e108eb581e8 | 46478:d6b51ec01987 |
---|---|
822 /* Like stricmp. Used to compare parts of font names which are in | 822 /* Like stricmp. Used to compare parts of font names which are in |
823 ISO8859-1. */ | 823 ISO8859-1. */ |
824 | 824 |
825 int | 825 int |
826 xstricmp (s1, s2) | 826 xstricmp (s1, s2) |
827 unsigned char *s1, *s2; | 827 const unsigned char *s1, *s2; |
828 { | 828 { |
829 while (*s1 && *s2) | 829 while (*s1 && *s2) |
830 { | 830 { |
831 unsigned char c1 = tolower (*s1); | 831 unsigned char c1 = tolower (*s1); |
832 unsigned char c2 = tolower (*s2); | 832 unsigned char c2 = tolower (*s2); |