more efficient :) (snprintf is a bit of a sledgehammer - if we can do it
simply.. why not? :) ) :) SVN revision: 12119
This commit is contained in:
parent
ef017cb633
commit
a9eafd9461
|
@ -511,7 +511,9 @@ _edje_part_recalc_single(Edje *ed,
|
|||
|
||||
if ((fnt->entry) && (!strcmp(fnt->entry, font)))
|
||||
{
|
||||
snprintf(buf, sizeof(buf), "fonts/%s", font);
|
||||
strcpy(buf, "fonts/");
|
||||
strncpy(buf + 6, font, sizeof(buf) - 7);
|
||||
buf[sizeof(buf) - 1] = 0;
|
||||
font = buf;
|
||||
inlined_font = 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue