diff options
Diffstat (limited to 'Build/source/libs/graphite-engine/src/painter/SegmentPainter.cpp')
-rw-r--r-- | Build/source/libs/graphite-engine/src/painter/SegmentPainter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/libs/graphite-engine/src/painter/SegmentPainter.cpp b/Build/source/libs/graphite-engine/src/painter/SegmentPainter.cpp index 559f72fb887..ee92cbe8caf 100644 --- a/Build/source/libs/graphite-engine/src/painter/SegmentPainter.cpp +++ b/Build/source/libs/graphite-engine/src/painter/SegmentPainter.cpp @@ -2603,7 +2603,7 @@ bool SegmentPainter::ArrowKeyPositionInternal( { // Switching fAPNew would cause us to move in the opposite direction, so // that's not a good solution. Keep going. - if (iginfStart == 0 && !fForward || iginfStart == m_pseg->m_cginf && fForward) + if ((iginfStart == 0 && !fForward) || (iginfStart == m_pseg->m_cginf && fForward)) { // Can't go any further, so go with this even though AP is wrong. } |