Browse Source

Add forgotten break

Léo Gaspard 8 years ago
parent
commit
a2465d5f58
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dtext.c

+ 1 - 0
dtext.c

@@ -242,6 +242,7 @@ load_char(dt_context *ctx, dt_font *fnt, wchar_t c)
 		if ((err = FT_Load_Glyph(fnt->faces[i], code, FT_LOAD_RENDER)))
 			continue;
 		slot = fnt->faces[i]->glyph;
+		break;
 	}
 	if (!slot) {
 		if ((err = FT_Load_Char(fnt->faces[0], c, FT_LOAD_RENDER)))