[sane-devel] XSane tweaks settings by its own :-(

Gerhard Jaeger gerhard@gjaeger.de
Tue, 8 Jun 2004 12:15:54 +0200


Hi,

I'm currenlty trying to add more frontend configurable options to the Plustek
backend and have some problems with xsane now.
There's a value whose range is from -1..63. At the default state, when
starting xsane, it is properly displayed: -1.
When changing once to i.e. 6 and changing it back to -1, xsane stores
it as 0 and also displays it after the next startup as 0..
Bug or feature? What is wrong. The type of this option is SANE_TYPE_INT,
the contraint_type is SANE_CONTRAINT_RANGE...
The configfile of xsane shows, that this value is stored as 0 and not as -1...

Any ideas?
  Gerhard