4865c30bf0a22ce4083161b1dd953508189b2091 unified the check for when to init the pressure curve. Unfortunately, it didn't actually do so, introducing a wrong if condition.
Reported-by: Bryan Hundven <[email protected]> Signed-off-by: Peter Hutterer <[email protected]> --- oops. Thanks Bryan. src/wcmValidateDevice.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c index d78e3fe..9597d61 100644 --- a/src/wcmValidateDevice.c +++ b/src/wcmValidateDevice.c @@ -383,7 +383,7 @@ int wcmParseOptions(LocalDevicePtr local, unsigned long* keys) * Slightly raised curve might be 0,5,95,100 */ s = xf86SetStrOption(local->options, "PressCurve", NULL); - if (s && IsStylus(priv) && IsEraser(priv)) + if (s && (IsStylus(priv) || IsEraser(priv))) { int a,b,c,d; if ((sscanf(s,"%d,%d,%d,%d",&a,&b,&c,&d) != 4) || -- 1.6.6.1 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
