Browse Source

Removed silly exception case

Alex Szpakowski 12 years ago
parent
commit
6247e7b60b
1 changed files with 0 additions and 10 deletions
  1. 0 10
      src/modules/font/freetype/Font.cpp

+ 0 - 10
src/modules/font/freetype/Font.cpp

@@ -61,17 +61,7 @@ Rasterizer *Font::newRasterizer(love::image::ImageData *data, std::string text)
 		utf8::iterator<std::string::const_iterator> end(text.end(), text.begin(), text.end());
 
 		while (i != end)
-		{
-			if (numglyphs >= strlen)
-				throw love::Exception("foo");
-
 			glyphs[numglyphs++] = *i++;
-		}
-	}
-	catch (love::Exception &)
-	{
-		delete [] glyphs;
-		throw;
 	}
 	catch (utf8::exception &e)
 	{