forked from enlightenment/efl
evas generic svg loader - dotn continue if rsvg handle is null
should avoid complaints of null rsvg handles
This commit is contained in:
parent
38f8958778
commit
6ad484be28
|
@ -73,6 +73,7 @@ _svg_init(const char *file)
|
||||||
if (!evas_image_load_file_is_svg(file)) return 0;
|
if (!evas_image_load_file_is_svg(file)) return 0;
|
||||||
|
|
||||||
rsvg = rsvg_handle_new_from_file(file, NULL);
|
rsvg = rsvg_handle_new_from_file(file, NULL);
|
||||||
|
if (!rsvg) return 0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue