Browse Source

Merge pull request #665 from seanpaultaylor/next

Added post process test on xCode
Sean Paul Taylor 13 years ago
parent
commit
d23c23de1c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gameplay/src/Font.cpp

+ 1 - 1
gameplay/src/Font.cpp

@@ -490,7 +490,7 @@ void Font::drawText(const char* text, int x, int y, const Vector4& color, unsign
 
 
         GP_ASSERT(_glyphs);
         GP_ASSERT(_glyphs);
         GP_ASSERT(_batch);
         GP_ASSERT(_batch);
-        for (size_t i = startIndex; i < length && i >= 0; i += (size_t)iteration)
+        for (size_t i = startIndex; i < length; i += (size_t)iteration)
         {
         {
             char c = 0;
             char c = 0;
             if (rightToLeft)
             if (rightToLeft)