work (STR #3485)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@9256
7a7537e8-13f0-0310-91df-
b6672ffda945
- Documentation fixes (STR #3542)
- Localization fixes (STR #3635, STR #3636)
+ - Setting the PRINTER or LPDEST environment variables to "name/instance"
+ did not work (STR #3485)
- The scheduler did not handle the JobRetryLimit setting properly
(STR #3466)
- The lpstat command always showed a remote job ID of 0 for shared
set_as_default = 1;
name = _cupsUserDefault(defname, sizeof(defname));
- if (!name && home)
+ if (name)
+ {
+ char *ptr; /* Temporary pointer... */
+
+ if ((ptr = strchr(defname, '/')) != NULL)
+ {
+ *ptr++ = '\0';
+ instance = ptr;
+ }
+ else
+ instance = NULL;
+ }
+ else if (home)
{
/*
* No default in the environment, try the user's lpoptions files...