diff options
| author | malex <malex@11d20701-8431-0410-a711-e3c959e3b870> | 2012-02-14 22:12:22 +0000 |
|---|---|---|
| committer | malex <malex@11d20701-8431-0410-a711-e3c959e3b870> | 2012-02-14 22:12:22 +0000 |
| commit | 14d21cfb22880a2cefa966fd2b43e53707ffd79a (patch) | |
| tree | bde7255cde1848e5f8aad7b4c231373302229507 /scribus/pageitem_textframe.cpp | |
| parent | 36cc68da9692f09836000184c989f518b1e86752 (diff) | |
| download | scribus-14d21cfb22880a2cefa966fd2b43e53707ffd79a.tar.gz scribus-14d21cfb22880a2cefa966fd2b43e53707ffd79a.tar.xz scribus-14d21cfb22880a2cefa966fd2b43e53707ffd79a.zip | |
2 more fixes for the armel build failures
git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17299 11d20701-8431-0410-a711-e3c959e3b870
Diffstat (limited to 'scribus/pageitem_textframe.cpp')
| -rw-r--r-- | scribus/pageitem_textframe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scribus/pageitem_textframe.cpp b/scribus/pageitem_textframe.cpp index fb7c07b..b5b0378 100644 --- a/scribus/pageitem_textframe.cpp +++ b/scribus/pageitem_textframe.cpp @@ -554,7 +554,7 @@ struct LineControl { double maxX = colRight - morespace; if (legacy) maxX -= lineCorr; - double StartX = floor(qMax(line.x, qMin(maxX,breakXPos-maxShrink-1))-1); + double StartX = floor(qMax((double)line.x, qMin(maxX,breakXPos-maxShrink-1))-1); int xPos = static_cast<int>(ceil(maxX)); QPoint pt12 (xPos, yAsc); |
