//
// PPD file import methods for the CUPS PPD Compiler.
//
-// Copyright 2007-2010 by Apple Inc.
+// Copyright 2007-2011 by Apple Inc.
// Copyright 2002-2006 by Easy Software Products.
//
// These coded instructions, statements, and computer programs are the
// Then add the stuff from the PPD file...
if (ppd->modelname && ppd->manufacturer &&
- !strncasecmp(ppd->modelname, ppd->manufacturer,
+ !_cups_strncasecmp(ppd->modelname, ppd->manufacturer,
strlen(ppd->manufacturer)))
{
ptr = ppd->modelname + strlen(ppd->manufacturer);
for (i = ppd->num_sizes, size = ppd->sizes; i > 0; i --, size ++)
{
// Don't do custom size here...
- if (!strcasecmp(size->name, "Custom"))
+ if (!_cups_strcasecmp(size->name, "Custom"))
continue;
// Get the code for the PageSize and PageRegion options...
driver->add_size(csize);
- if (!strcasecmp(size_option->defchoice, size->name))
+ if (!_cups_strcasecmp(size_option->defchoice, size->name))
driver->set_default_size(csize);
}
cchoice = new ppdcChoice(choice->choice, choice->text, choice->code);
coption->add_choice(cchoice);
- if (!strcasecmp(option->defchoice, choice->choice))
+ if (!_cups_strcasecmp(option->defchoice, choice->choice))
coption->set_defchoice(cchoice);
}
}