* edje: Oops. Correct fix.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Oct 2009 12:40:28 +0000 (12:40 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Oct 2009 12:40:28 +0000 (12:40 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@42937 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_sources.c

index 2bc255d..4cb804a 100644 (file)
@@ -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);