resolve warning

This commit is contained in:
niels
2025-11-02 14:27:41 +01:00
parent c0d9155998
commit a4fcdc079d

View File

@@ -1417,9 +1417,8 @@ static int configure(vj_font_t *f, int size, int font)
return 0; return 0;
} }
veejay_memset( selected_default_font, 0, sizeof(selected_default_font)); snprintf(selected_default_font, sizeof(selected_default_font), "%s", f->font);
strncpy( selected_default_font, (char*)f->font,strlen((char*)f->font)) ;
f->use_kerning = FT_HAS_KERNING(f->face); f->use_kerning = FT_HAS_KERNING(f->face);
yMax = -32000; yMax = -32000;