summaryrefslogtreecommitdiffstats
path: root/src/xml/qsvgdevice.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-07-28 15:51:58 -0500
committerTimothy Pearson <[email protected]>2012-07-28 15:51:58 -0500
commitfe7969ef886d7287fa959929ddd33fbad8407884 (patch)
tree589aacc109d27561a5188bb46bce27c78bad8f5b /src/xml/qsvgdevice.cpp
parentdba8a853b65e5707e48450e5085e0ff0513b4203 (diff)
downloadtqt3-fe7969ef886d7287fa959929ddd33fbad8407884.tar.gz
tqt3-fe7969ef886d7287fa959929ddd33fbad8407884.zip
Automated update from Qt3
Diffstat (limited to 'src/xml/qsvgdevice.cpp')
-rw-r--r--src/xml/qsvgdevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/qsvgdevice.cpp b/src/xml/qsvgdevice.cpp
index 106905594..9acaf4f97 100644
--- a/src/xml/qsvgdevice.cpp
+++ b/src/xml/qsvgdevice.cpp
@@ -1433,8 +1433,8 @@ void TQSvgDevice::drawPath( const TQString &data )
// if possible, reflect last control point if smooth shorthand
if ( mode == 6 || mode == 8 ) { // smooth 'S' and 'T'
bool cont = mode == lastMode ||
- mode == 6 && lastMode == 5 || // 'S' and 'C'
- mode == 8 && lastMode == 7; // 'T' and 'Q'
+ ( mode == 6 && lastMode == 5 ) || // 'S' and 'C'
+ ( mode == 8 && lastMode == 7 ); // 'T' and 'Q'
x = cont ? 2*x-controlX : x;
y = cont ? 2*y-controlY : y;
quad.setPoint( 1, int(x), int(y) );