diff --git a/src/sdl_font.cpp b/src/sdl_font.cpp index 1d29d95b5dfaf..1a7c779e21e2d 100644 --- a/src/sdl_font.cpp +++ b/src/sdl_font.cpp @@ -604,6 +604,7 @@ void FontFallbackList::OutputChar( const SDL_Renderer_Ptr &renderer, for( auto it = fonts.begin(); it != fonts.end(); ++it ) { if( std::next( it ) == fonts.end() || ( *it )->isGlyphProvided( ch ) ) { cached = glyph_font.emplace( ch, it ).first; + break; } } }