mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
21 lines
759 B
C++
21 lines
759 B
C++
--- ksynaptics/src/myframe.cpp.orig Thu Apr 27 02:00:53 2006
|
|
+++ ksynaptics/src/myframe.cpp Thu Apr 27 02:01:45 2006
|
|
@@ -56,7 +56,7 @@
|
|
kdDebug() << k_funcinfo << endl;
|
|
|
|
// range checking
|
|
- if ( ( i < NoTrigger ) or ( i >= PadModeMax ) )
|
|
+ if ( ( i < NoTrigger ) || ( i >= PadModeMax ) )
|
|
mPadMode = NoTrigger;
|
|
else
|
|
mPadMode = (PadMode) i;
|
|
@@ -112,7 +112,7 @@
|
|
|
|
// otherwise draw the corners/edges
|
|
// TODO improve this drawing
|
|
- if ( mPadMode != OneFinger and mPadMode != TwoFingers and mPadMode != ThreeFingers )
|
|
+ if ( mPadMode != OneFinger && mPadMode != TwoFingers && mPadMode != ThreeFingers )
|
|
{
|
|
myPainting.setPen( QColor( "Red" ) );
|
|
myPainting.setBrush( QColor( "Red") );
|