summaryrefslogtreecommitdiffstats
path: root/starmath
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-03-29 18:46:14 +0100
committerThomas Arnhold <thomas@arnhold.org>2014-03-29 19:16:29 +0100
commitd2dbab23caf580cc1ca0b5c5f0041da377cde593 (patch)
treeebbea758ce73eaad140cc938e1cd3abf7a04ae57 /starmath
parenttypo: mayby -> maybe (diff)
downloadcore-d2dbab23caf580cc1ca0b5c5f0041da377cde593.tar.gz
core-d2dbab23caf580cc1ca0b5c5f0041da377cde593.zip
typo: horizontial -> horizontal
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/node.hxx2
-rw-r--r--starmath/source/cursor.cxx2
2 files changed, 2 insertions, 2 deletions
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