CHANGES IN CUPS V1.1.19rc5
+ - cupsLangGet() could fail on OSX due to a corrupt
+ language preference (STR #78)
- Added more checks for HTTP request timeouts.
- The scheduler dropped the first non-alpha character
after an open brace when doing attribute substitutions
/*
- * "$Id: language.c,v 1.20.2.17 2003/04/23 14:42:09 mike Exp $"
+ * "$Id: language.c,v 1.20.2.18 2003/05/09 18:44:41 mike Exp $"
*
* I18N/language support for the Common UNIX Printing System (CUPS).
*
kCFPreferencesCurrentApplication);
if (localizationList != NULL &&
- CFGetTypeID(localizationList) == CFArrayGetTypeID())
+ CFGetTypeID(localizationList) == CFArrayGetTypeID() &&
+ CFArrayGetCount(localizationList) > 0)
{
localizationName = CFArrayGetValueAtIndex(localizationList, 0);
/*
- * End of "$Id: language.c,v 1.20.2.17 2003/04/23 14:42:09 mike Exp $".
+ * End of "$Id: language.c,v 1.20.2.18 2003/05/09 18:44:41 mike Exp $".
*/