**p,
**q;
+ int
+ cmp;
+
p=(const ColorInfo **) x,
q=(const ColorInfo **) y;
- if (LocaleCompare((*p)->path,(*q)->path) == 0)
+ cmp=LocaleCompare((*p)->path,(*q)->path);
+ if (cmp == 0)
return(LocaleCompare((*p)->name,(*q)->name));
- return(LocaleCompare((*p)->path,(*q)->path));
+ return(cmp);
}
#if defined(__cplusplus) || defined(c_plusplus)
**p,
**q;
+ int
+ cmp;
+
p=(const DelegateInfo **) x,
q=(const DelegateInfo **) y;
- if (LocaleCompare((*p)->path,(*q)->path) == 0)
+ cmp=LocaleCompare((*p)->path,(*q)->path);
+ if (cmp == 0)
{
if ((*p)->decode == (char *) NULL)
if (((*p)->encode != (char *) NULL) &&
((*q)->decode != (char *) NULL))
return(strcmp((*p)->decode,(*q)->decode));
}
- return(LocaleCompare((*p)->path,(*q)->path));
+ return(cmp);
}
#if defined(__cplusplus) || defined(c_plusplus)