From d2dbab23caf580cc1ca0b5c5f0041da377cde593 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 29 Mar 2014 18:46:14 +0100 Subject: typo: horizontial -> horizontal --- starmath/inc/node.hxx | 2 +- starmath/source/cursor.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'starmath') diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index a10aa92b027d..89588972c88f 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -863,7 +863,7 @@ public: -/** Binary horizontial node +/** Binary horizontal node * * This node is used for binary operators. In a formula such as "A + B". * diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index 5b9847611c9b..a869b4ab045b 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -49,7 +49,7 @@ void SmCursor::Move(OutputDevice* pDev, SmMovementDirection direction, bool bMov && direction == MoveUp) continue; //Compare if it to what we have, if we have anything yet if(NewPos){ - //Compute distance to current line squared, multiplied with a horizontial factor + //Compute distance to current line squared, multiplied with a horizontal factor long dp_sq = curr_line.SquaredDistanceX(from_line) * HORIZONTICAL_DISTANCE_FACTOR + curr_line.SquaredDistanceY(from_line); //Discard current line if best line is closer -- cgit