yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=208b476b4e90798f0eb410c4130204ef5f0864de

commit 208b476b4e90798f0eb410c4130204ef5f0864de
Author: Yakov Goldberg <[email protected]>
Date:   Mon Jan 19 13:18:08 2015 +0200

    Fix generation of image/edje paths in c
---
 src/lib/generator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/generator.c b/src/lib/generator.c
index 3f14094..1aaad12 100644
--- a/src/lib/generator.c
+++ b/src/lib/generator.c
@@ -718,7 +718,6 @@ _ctx_generate(Global_Gen_Context *gl_ctx)
     * - if data prefix variable is not defined, image's initial path is 
inserted.
     * - if data prefix variable is defined, path is generated ad 
DATA_PREFIX/filename */
    const char *path_var = gui_context_images_prefix_get(ctx);
-   Eina_Bool first_res = EINA_TRUE;
    int i;
 
    for (i = 1; i < RESOURCE_SENTINEL; i <<= 1)
@@ -728,6 +727,7 @@ _ctx_generate(Global_Gen_Context *gl_ctx)
         if (!res_lst) continue;
         if (type == RESOURCE_IMAGE || type == RESOURCE_EDJE)
           {
+             Eina_Bool first_res = EINA_TRUE;
              Eina_Strbuf *if_buf = eina_strbuf_new();
              EINA_LIST_FOREACH(res_lst, itr, eid)
                {

-- 


Reply via email to