summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-05-27 09:57:33 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-05-27 11:17:02 +0300
commit5f42b233b1ae928f32ecf2da6b16b4baf1f6b65e (patch)
tree7f6b4c9c8518dc1dab1db6a0de10d83f648f3819
parentd6dbba442a474cbffb88050dc55892b0ef40fded (diff)
fix empty file name when parsing
-rw-r--r--src/lib/gui_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/gui_parser.c b/src/lib/gui_parser.c
index b02c030..689061e 100644
--- a/src/lib/gui_parser.c
+++ b/src/lib/gui_parser.c
@@ -912,6 +912,7 @@ gui_parser_json_file_read(Gui_Context *ctx, const char *filename)
912 tok = eina_str_split(project_name, ".", 0); 912 tok = eina_str_split(project_name, ".", 0);
913 913
914 gui_context_project_name_set(ctx, tok[0]); 914 gui_context_project_name_set(ctx, tok[0]);
915 gui_context_project_filename_set(ctx, tok[0]);
915 916
916 free(tok[0]); 917 free(tok[0]);
917 free(tok); 918 free(tok);