summaryrefslogtreecommitdiff
path: root/legacy/edje/src/lib/edje_text.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-10-11 07:24:46 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-10-11 07:24:46 +0000
commitf1ec894769f8edc5104606a57a12131ecee04af8 (patch)
tree077a88c20dc246688d106be9959150b5934c064a /legacy/edje/src/lib/edje_text.c
parent1cae896bba913e9b2f06530ad7a3e49a23703c5b (diff)
fix inlined fonts again.
SVN revision: 53258
Diffstat (limited to 'legacy/edje/src/lib/edje_text.c')
-rw-r--r--legacy/edje/src/lib/edje_text.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/legacy/edje/src/lib/edje_text.c b/legacy/edje/src/lib/edje_text.c
index a37ad10..b60c219 100644
--- a/legacy/edje/src/lib/edje_text.c
+++ b/legacy/edje/src/lib/edje_text.c
@@ -342,9 +342,11 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
342 342
343 if (fnt) 343 if (fnt)
344 { 344 {
345 int len = strlen(fnt->entry) + sizeof("edje/fonts/") + 1; 345 char *font2;
346 font = alloca(len); 346
347 sprintf((char *)font, "edje/fonts/%s", fnt->entry); 347 int len = strlen(font) + sizeof("edje/fonts/") + 1;
348 font2 = alloca(len);
349 font = font2;
348 inlined_font = 1; 350 inlined_font = 1;
349 } 351 }
350 } 352 }