On Wed, Jun 02, 2010 at 12:20:10AM -0700, Ping Cheng wrote: > No wonder I wasn't sure what was going on. Did someone review the patch then > :)?
heh, no, but a few minutes after sending you the private email about this it clicked and I realised this was just a simple copy/paste error. so I figured I might as well fix it now. Thanks for the reviews! Cheers, Peter > > Reviewed-by: Ping Cheng <pingli...@gmail.com> > > Ping > > On Tue, Jun 1, 2010 at 9:43 PM, Peter Hutterer <peter.hutte...@who-t.net> > wrote: > > In the cleanup in 659daa11dc558a45bfad1b9548f1757fab226ad7 "Normalize > > pressure sensitivity", the line to drop the calculated value back into the > > state got lost. > > > > Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> > > --- > > src/wcmCommon.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/src/wcmCommon.c b/src/wcmCommon.c > > index 1aeb6a2..eb985e4 100644 > > --- a/src/wcmCommon.c > > +++ b/src/wcmCommon.c > > @@ -1685,7 +1685,7 @@ static void transPressureCurve(WacomDevicePtr pDev, > > WacomDeviceStatePtr pState) > > p = min(FILTER_PRESSURE_RES, p); > > > > /* apply pressure curve function */ > > - p = pDev->pPressCurve[p]; > > + pState->pressure = pDev->pPressCurve[p]; > > } > > > > /***************************************************************************** > > -- > > 1.7.0.1 > > > > > > ------------------------------------------------------------------------------ > ------------------------------------------------------------------------------ _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel