kopia lustrzana https://gitlab.com/sane-project/backends
pixma_bjnp.c: use MDL instead of DES string as model for the scanner.
This avoids lookup mismatches due to unnessacary additions like "Canon" opr "Pixma" in the stringmerge-requests/1/head
rodzic
57d117a2d4
commit
5997295720
|
@ -234,9 +234,9 @@ parse_IEEE1284_to_model (char *scanner_id, char *model)
|
|||
tok = strtok (s, ";");
|
||||
while (tok != NULL)
|
||||
{
|
||||
/* DES contains make and model */
|
||||
/* MDL contains make and model */
|
||||
|
||||
if (strncmp (tok, "DES:", 4) == 0)
|
||||
if (strncmp (tok, "MDL:", 4) == 0)
|
||||
{
|
||||
strcpy (model, tok + 4);
|
||||
return 1;
|
||||
|
|
Ładowanie…
Reference in New Issue