summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-06-02 22:31:53 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-06-02 22:31:53 +0900
commit6ad484be28400b0825f48a902397971e8bb64449 (patch)
tree9840405e7aa4bf1576a3c28afa08ced4cdd2887e /src
parent38f8958778c3f53fa6a5e26544f32de343b5ac8e (diff)
evas generic svg loader - dotn continue if rsvg handle is null
should avoid complaints of null rsvg handles
Diffstat (limited to 'src')
-rw-r--r--src/generic/evas/svg/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/generic/evas/svg/main.c b/src/generic/evas/svg/main.c
index 5fc7912..8c46708 100644
--- a/src/generic/evas/svg/main.c
+++ b/src/generic/evas/svg/main.c
@@ -73,6 +73,7 @@ _svg_init(const char *file)
73 if (!evas_image_load_file_is_svg(file)) return 0; 73 if (!evas_image_load_file_is_svg(file)) return 0;
74 74
75 rsvg = rsvg_handle_new_from_file(file, NULL); 75 rsvg = rsvg_handle_new_from_file(file, NULL);
76 if (!rsvg) return 0;
76 77
77 return 1; 78 return 1;
78} 79}