Removed silly exception case

This commit is contained in:
Alex Szpakowski
2013-01-23 03:15:49 -04:00
parent e51a9eb25d
commit 6247e7b60b
-10
View File
@@ -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)
{