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

2004-06-17 Thread Gerhard Jaeger
Hi Oliver, thanx for the info, I'll test it.. - sorry for the late repsonse. On Tuesday 08 June 2004 15:44, Oliver Rauch wrote: [SNIPSNAP] > static void xsane_back_gtk_value_update(...) > > case SANE_TYPE_INT: > val = adj_data->value + 0.5; > > remove the "+ 0.5" and it should work. > >

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

2004-06-08 Thread Oliver Rauch
Hello Gerhard. This is caused by a rounding in xsane-back-gtk.c line 2218 in function: static void xsane_back_gtk_value_update(...) case SANE_TYPE_INT: val = adj_data->value + 0.5; remove the "+ 0.5" and it should work. But I am not sure if this will cause other problems. I think ther

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

2004-06-08 Thread Gerhard Jaeger
On Tuesday 08 June 2004 12:22, Henning Meier-Geinitz wrote: > Hi, > > On Tue, Jun 08, 2004 at 12:15:54PM +0200, Gerhard Jaeger wrote: > > 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

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

2004-06-08 Thread Henning Meier-Geinitz
Hi, On Tue, Jun 08, 2004 at 12:15:54PM +0200, Gerhard Jaeger wrote: > 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 prop

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

2004-06-08 Thread Gerhard Jaeger
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