Re: xsane-0.5 resolution selector gone

From: Harald Kirsch (kir@iitb.fhg.de)
Date: Sun Jan 16 2000 - 10:01:09 PST

  • Next message: Oliver Rauch: "Re: xsane-0.50"

    Oliver Rauch writes:
    > Harald Kirsch wrote:
    > > scansource_selection: unknown type 0
    > >
    > > on the console. What am I doing wrong?
    > >
    > > Scanner is agfa snapscan 1236s with adaptec 1505 on Linux libc-2.1.2,
    > > sane-1.0.1, libgtk.so.1.0.6.

    > sane-*/backend/snapscan.c
    > search for: sane_get_option_descriptor (about line 1180)
    > and change the following "if" comparison
    >
    > if (n < NUM_OPTS)
    >
    > to:
    >
    > if ((n>=0) && (n < NUM_OPTS))
    >

    This did the trick. Thanks,

    Harald Kirsch

    -- 
    ---------------------+---------------------------------------------
    Harald Kirsch (@home)|    Don't like `make' ?
    kir@iitb.fhg.de      |    Use http://wsd.iitb.fhg.de/~kir/brashome/
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Sun Jan 16 2000 - 10:43:53 PST