]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/TextPainter.cpp
Revert "Fix a number of signedness warnings"
[lyx.git] / src / mathed / TextPainter.cpp
index e7600b53482d37335c98b6a60905f9bb813a5742..fb7e7ff3a572b7103fa8087837bf3f79a5c728c3 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -42,16 +42,16 @@ void TextPainter::draw(int x, int y, char_type const * str)
 }
 
 
-void TextPainter::horizontalLine(int x, int y, int n, char_type c)
+void TextPainter::horizontalLine(int x, int y, int len, char_type c)
 {
-       for (int i = 0; i < n && i + x < xmax_; ++i)
+       for (int i = 0; i < len && i + x < xmax_; ++i)
                at(x + i, y) = c;
 }
 
 
-void TextPainter::verticalLine(int x, int y, int n, char_type c)
+void TextPainter::verticalLine(int x, int y, int len, char_type c)
 {
-       for (int i = 0; i < n && i + y < ymax_; ++i)
+       for (int i = 0; i < len && i + y < ymax_; ++i)
                at(x, y + i) = c;
 }