From 4c032723ba4bf31d441a291a931f9ec89f0dabc4 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 24 Feb 2017 10:40:52 +0000 Subject: [PATCH] Fixed indentation --- src/osgText/Text.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 413402368..53987bd08 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -264,19 +264,19 @@ void Text::computeGlyphRepresentation() ) { // record the start of the current line - String::iterator startOfLine_itr = itr; + String::iterator startOfLine_itr = itr; - // find the end of the current line. - osg::Vec2 endOfLine_coords(cursor); - String::iterator endOfLine_itr = computeLastCharacterOnLine(endOfLine_coords, itr,_text.end()); + // find the end of the current line. + osg::Vec2 endOfLine_coords(cursor); + String::iterator endOfLine_itr = computeLastCharacterOnLine(endOfLine_coords, itr,_text.end()); - linelength = endOfLine_itr - startOfLine_itr; + linelength = endOfLine_itr - startOfLine_itr; - // Set line position to correct alignment. - switch(_layout) - { - case LEFT_TO_RIGHT: - { + // Set line position to correct alignment. + switch(_layout) + { + case LEFT_TO_RIGHT: + { switch(_alignment) { // nothing to be done for these