diff --git a/src/txt/AttributedString.cpp b/src/txt/AttributedString.cpp index 583673e..c1d0224 100644 --- a/src/txt/AttributedString.cpp +++ b/src/txt/AttributedString.cpp @@ -178,7 +178,7 @@ namespace txt if( node->value_size() != 0 ) { mSubstrings.push_back( AttributedString::Substring( node->value(), mAttributesStack.top() ) ); } - else if( stricmp( node->name(), ATTR_LINE_BREAK ) == 0 ) { + else if( _stricmp( node->name(), ATTR_LINE_BREAK ) == 0 ) { if( !mSubstrings.size() ) { mSubstrings.push_back( AttributedString::Substring( "\n", mAttributesStack.top() ) ); } diff --git a/src/txt/TextLayout.cpp b/src/txt/TextLayout.cpp index f6447c6..7ec28f3 100644 --- a/src/txt/TextLayout.cpp +++ b/src/txt/TextLayout.cpp @@ -263,7 +263,7 @@ namespace txt for( auto& index : shapedGlyphs[i].textIndices ) { - ci::app::console() << lineBreaks[index] << std::endl; + //ci::app::console() << lineBreaks[index] << std::endl; if( lineBreaks[index] == ci::UNICODE_MUST_BREAK ) { // Add the current run then move to next line @@ -362,4 +362,4 @@ namespace txt mLineHeight = 0.f; mAscender = 0.f; } -} \ No newline at end of file +}