Branch: r14.0.x

f0c1f708 2015-03-04 22:39:23 Slávek Banko
Fix incorrectly renamed strings
(cherry picked from commit 18151081a929d4161de8a88e1c77e58a03e66cbd)
M src/Editor.cpp
diff --git a/src/Editor.cpp b/src/Editor.cpp
index 9ac8c1b..c08517a 100755
--- a/src/Editor.cpp
+++ b/src/Editor.cpp
@@ -1246,7 +1246,7 @@
 	int lineCaret = DisplayFromPosition(posCaret);
 	bool bSlop, bStrict, bJump, bEven;
 
-	//Qt::Vertical positioning
+	// Vertical positioning
 	if (vert && (pt.y < rcClient.top || ptBottomCaret.y > rcClient.bottom || (caretYPolicy & CARET_STRICT) != 0)) {
 		int linesOnScreen = LinesOnScreen();
 		int halfScreen = Platform::Maximum(linesOnScreen - 1, 2) / 2;
@@ -1340,7 +1340,7 @@
 		}
 	}
 
-	//Qt::Horizontal positioning
+	// Horizontal positioning
 	if (horiz && (wrapState == eWrapNone)) {
 		int halfScreen = Platform::Maximum(rcClient.Width() - 4, 4) / 2;
 		int xOffsetNew = xOffset;