1. Bill Meltsner
  2. love-ios

Commits

Bart van Strien  committed 793fc3d

Catch ALL the utf8 errors (bug #244)

  • Participants
  • Parent commits bfc5e88
  • Branches default

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/Font.cpp

View file
 				dx += glyph->spacing;
 			}
 		}
-		catch (utf8::invalid_utf8 e)
+		catch (utf8::exception e)
 		{
 			glPopMatrix();
 			throw love::Exception(e.what());
 				temp += static_cast<int>(g->spacing * mSpacing);
 			}
 		}
-		catch (utf8::invalid_utf8 e)
+		catch (utf8::exception e)
 		{
 			throw love::Exception(e.what());
 		}