mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Sort correctly upper and lower case
SVN revision: 531
This commit is contained in:
parent
0be9e46553
commit
75ab4bbe77
@ -6,6 +6,9 @@
|
||||
Contents: Web server program for Electronic Logbook ELOG
|
||||
|
||||
$Log$
|
||||
Revision 1.107 2003/05/15 10:39:47 midas
|
||||
Sort correctly upper and lower case
|
||||
|
||||
Revision 1.106 2003/05/12 20:15:03 midas
|
||||
Added warning if message is being edited
|
||||
|
||||
@ -7653,12 +7656,12 @@ char *p;
|
||||
|
||||
int msg_compare(const void *m1, const void *m2)
|
||||
{
|
||||
return strcmp(((MSG_LIST *)m1)->string, ((MSG_LIST *)m2)->string);
|
||||
return stricmp(((MSG_LIST *)m1)->string, ((MSG_LIST *)m2)->string);
|
||||
}
|
||||
|
||||
int msg_compare_reverse(const void *m1, const void *m2)
|
||||
{
|
||||
return strcmp(((MSG_LIST *)m2)->string, ((MSG_LIST *)m1)->string);
|
||||
return stricmp(((MSG_LIST *)m2)->string, ((MSG_LIST *)m1)->string);
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user