evas generic svg loader - dotn continue if rsvg handle is null

should avoid complaints of null rsvg handles
This commit is contained in:
Carsten Haitzler 2016-06-02 22:31:53 +09:00
parent 38f8958778
commit 6ad484be28
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ _svg_init(const char *file)
if (!evas_image_load_file_is_svg(file)) return 0;
rsvg = rsvg_handle_new_from_file(file, NULL);
if (!rsvg) return 0;
return 1;
}