Re: another umax_pp nit-pick

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Jun 11 2001 - 02:55:05 PDT

  • Next message: Justin: "Re: Kernel 2.4.X and HP 5p Scanner"

    On Mon, Jun 11, 2001 at 07:33:17AM +0200, stef wrote:

    > I have ifdef'ed the block that use PPGETMODES in CVS. If pdev.h makes
    > its way into SANE includes, I will happily use it.

    Thanks. Current CVS also needs this patch:

    Index: sane-backends/tools/umax_pp.c
    ===================================================================
    RCS file: /cvsroot/external/sane/sane-backends/tools/umax_pp.c,v
    retrieving revision 1.1
    diff -u -r1.1 umax_pp.c
    --- umax_pp.c 2001/05/03 19:40:35 1.1
    +++ umax_pp.c 2001/06/11 09:49:13
    @@ -364,7 +364,7 @@
               printf ("InitTransport() failed (%s:%d)\n", __FILE__, __LINE__);
               return (0);
             }
    - if (sanei_umax_pp_Lamp (lamp) == 0)
    + if (sanei_umax_pp_SetLamp (lamp) == 0)
             {
               fprintf (stderr, "Setting lamp state failed!\n");
               return (0);

    Tim.
    */



    --
    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 : Mon Jun 11 2001 - 02:49:35 PDT