summaryrefslogtreecommitdiffstats
path: root/src/xml/qsvgdevice.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-08-03 08:49:38 -0500
committerDarrell Anderson <[email protected]>2012-08-03 08:49:38 -0500
commit7d22e97622a6b963382b88aac6dfde06a2cd8f03 (patch)
tree231f5c31f279d3e798702fe61e9b6bcef52b089b /src/xml/qsvgdevice.cpp
parent6d0157ea558089bb957f35263424a405e42a6931 (diff)
parentfe7969ef886d7287fa959929ddd33fbad8407884 (diff)
downloadtqt3-7d22e97622a6b963382b88aac6dfde06a2cd8f03.tar.gz
tqt3-7d22e97622a6b963382b88aac6dfde06a2cd8f03.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
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) );