kopia lustrzana https://gitlab.com/sane-project/backends
Use first known device if no device is specified
rodzic
1ee59e30eb
commit
417ef8eac5
|
@ -1,3 +1,8 @@
|
||||||
|
2005-07-15 Oliver Schwartz <Oliver.Schwartz@gmx.de>
|
||||||
|
|
||||||
|
* backend/snapscan.c: Use first known device if no explicit device name
|
||||||
|
is specified
|
||||||
|
|
||||||
2005-08-07 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
2005-08-07 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||||
|
|
||||||
* configure configure.in: Updated version. Enabled compilation
|
* configure configure.in: Updated version. Enabled compilation
|
||||||
|
|
|
@ -833,6 +833,12 @@ SANE_Status sane_open (SANE_String_Const name, SANE_Handle * h)
|
||||||
DBG (DL_CALL_TRACE, "%s (%s, %p)\n", me, name, (void *) h);
|
DBG (DL_CALL_TRACE, "%s (%s, %p)\n", me, name, (void *) h);
|
||||||
|
|
||||||
/* possible authorization required */
|
/* possible authorization required */
|
||||||
|
|
||||||
|
/* no device name: use first device */
|
||||||
|
if ((strlen(name) == 0) && (first_device != NULL))
|
||||||
|
{
|
||||||
|
name = first_device->dev.name;
|
||||||
|
}
|
||||||
|
|
||||||
/* device exists? */
|
/* device exists? */
|
||||||
psd = find_device (name);
|
psd = find_device (name);
|
||||||
|
@ -1865,6 +1871,9 @@ SANE_Status sane_get_select_fd (SANE_Handle h, SANE_Int * fd)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log$
|
* $Log$
|
||||||
|
* Revision 1.49 2005/08/07 12:37:29 oliver-guest
|
||||||
|
* Use first known device if no device is specified
|
||||||
|
*
|
||||||
* Revision 1.48 2004/12/09 23:21:48 oliver-guest
|
* Revision 1.48 2004/12/09 23:21:48 oliver-guest
|
||||||
* Added quality calibration for Epson 2480 (by Simon Munton)
|
* Added quality calibration for Epson 2480 (by Simon Munton)
|
||||||
*
|
*
|
||||||
|
@ -1999,7 +2008,7 @@ SANE_Status sane_get_select_fd (SANE_Handle h, SANE_Int * fd)
|
||||||
* Set version number to 1.4.4
|
* Set version number to 1.4.4
|
||||||
*
|
*
|
||||||
* Revision 1.36 2002/01/06 18:34:02 oliverschwartz
|
* Revision 1.36 2002/01/06 18:34:02 oliverschwartz
|
||||||
* Added support for Snapscan e42 thanks to Yari Adán Petralanda
|
* Added support for Snapscan e42 thanks to Yari Ad<EFBFBD> Petralanda
|
||||||
*
|
*
|
||||||
* Revision 1.35 2001/12/20 23:18:01 oliverschwartz
|
* Revision 1.35 2001/12/20 23:18:01 oliverschwartz
|
||||||
* Remove tmpfname
|
* Remove tmpfname
|
||||||
|
|
Ładowanie…
Reference in New Issue