for (size_t i = 0;; i++)
{
int d = tolower (s1[i]) - tolower (s2[i]);
- if (d) return d;
+ if (d || !s1[i]) return d;
}
return 0;
}
for (size_t i = 0; i < n; i++)
{
int d = tolower (s1[i]) - tolower (s2[i]);
- if (d) return d;
+ if (d || !s1[i]) return d;
}
return 0;
}
#if defined (ENABLE_NLS)
# include <libintl.h>
-#else
-# define dgettext(dom, str) ((char *)(str))
#endif
#define N_(str) gettext_noop (str)