mirror of https://github.com/GNOME/gimp.git
os/2 patch
This commit is contained in:
parent
bed181a998
commit
b6c9232fbe
|
@ -1,3 +1,11 @@
|
||||||
|
2000-01-28 Asbjorn Pettersen <asbjornP@dualog.no>
|
||||||
|
|
||||||
|
* plug-ins/print/print-ps.c: use g_strcasecmp() instead of
|
||||||
|
strcasecmp().
|
||||||
|
|
||||||
|
* plug-ins/print/print.c: Fix output_to,driver settings
|
||||||
|
for OS/2 version.
|
||||||
|
|
||||||
Fri Jan 28 10:48:55 CET 2000 Sven Neumann <sven@gimp.org>
|
Fri Jan 28 10:48:55 CET 2000 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
* libgimp/libgimp-intl.h: bind gimp-libgimp domain
|
* libgimp/libgimp-intl.h: bind gimp-libgimp domain
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
* Revision History:
|
* Revision History:
|
||||||
*
|
*
|
||||||
* $Log$
|
* $Log$
|
||||||
|
* Revision 1.18 2000/01/27 18:42:27 asbjoer
|
||||||
|
* os/2 patch
|
||||||
|
*
|
||||||
* Revision 1.17 2000/01/26 16:00:48 neo
|
* Revision 1.17 2000/01/26 16:00:48 neo
|
||||||
* updated print plug-in
|
* updated print plug-in
|
||||||
*
|
*
|
||||||
|
@ -445,7 +448,7 @@ ps_parameters(int model, /* I - Printer model */
|
||||||
if (sscanf(line, "*%s %[^/:]", lname, loption) != 2)
|
if (sscanf(line, "*%s %[^/:]", lname, loption) != 2)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (strcasecmp(lname, name) == 0)
|
if (g_strcasecmp(lname, name) == 0)
|
||||||
{
|
{
|
||||||
valptrs[(*count)] = malloc(strlen(loption) + 1);
|
valptrs[(*count)] = malloc(strlen(loption) + 1);
|
||||||
strcpy(valptrs[(*count)], loption);
|
strcpy(valptrs[(*count)], loption);
|
||||||
|
@ -1124,7 +1127,7 @@ ppd_find(char *ppd_file, /* I - Name of PPD file */
|
||||||
if (line[0] != '*')
|
if (line[0] != '*')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (strncasecmp(line, "*OrderDependency:", 17) == 0 && order != NULL)
|
if (g_strncasecmp(line, "*OrderDependency:", 17) == 0 && order != NULL)
|
||||||
{
|
{
|
||||||
sscanf(line, "%*s%d", order);
|
sscanf(line, "%*s%d", order);
|
||||||
continue;
|
continue;
|
||||||
|
@ -1132,8 +1135,8 @@ ppd_find(char *ppd_file, /* I - Name of PPD file */
|
||||||
else if (sscanf(line, "*%s %[^/:]", lname, loption) != 2)
|
else if (sscanf(line, "*%s %[^/:]", lname, loption) != 2)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (strcasecmp(lname, name) == 0 &&
|
if (g_strcasecmp(lname, name) == 0 &&
|
||||||
strcasecmp(loption, option) == 0)
|
g_strcasecmp(loption, option) == 0)
|
||||||
{
|
{
|
||||||
opt = strchr(line, ':') + 1;
|
opt = strchr(line, ':') + 1;
|
||||||
while (*opt == ' ' || *opt == '\t')
|
while (*opt == ' ' || *opt == '\t')
|
||||||
|
|
|
@ -3204,8 +3204,8 @@ get_printers(void)
|
||||||
for (i = 1; i <= pnum; i++)
|
for (i = 1; i <= pnum; i++)
|
||||||
{
|
{
|
||||||
sprintf(plist[plist_count].name, "LPT%d:", i);
|
sprintf(plist[plist_count].name, "LPT%d:", i);
|
||||||
sprintf(plist[plist_count].output_to, "PRINT /D:LPT%d /B ", i);
|
sprintf(plist[plist_count].v.output_to, "PRINT /D:LPT%d /B ", i);
|
||||||
strcpy(plist[plist_count].driver, "ps2");
|
strcpy(plist[plist_count].v.driver, "ps2");
|
||||||
initialize_printer(&plist[plist_count]);
|
initialize_printer(&plist[plist_count]);
|
||||||
plist_count ++;
|
plist_count ++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue