From: cedric Date: Wed, 7 Oct 2009 12:40:28 +0000 (+0000) Subject: * edje: Oops. Correct fix. X-Git-Tag: 2.0_alpha~163^2~805 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5a3dec7d96db49c3497487d9ab7894b9be21b1b;p=framework%2Fuifw%2Fedje.git * edje: Oops. Correct fix. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@42937 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/edje_cc_sources.c b/src/bin/edje_cc_sources.c index 2bc255d..4cb804a 100644 --- a/src/bin/edje_cc_sources.c +++ b/src/bin/edje_cc_sources.c @@ -67,7 +67,7 @@ source_fetch_file(const char *fil, const char *filname) sf->name = mem_strdup(filname); sf->file = mem_alloc(sz + 1); tmp = fread(sf->file, sz, 1, f); - if (tmp != sz) + if (tmp != 1) { fprintf(stderr, "%s: Warning filename length doesn't match !\n", progname);