Check to make sure img is pointing to somethin

SVN revision: 28657
This commit is contained in:
titan 2007-03-11 14:10:42 +00:00 committed by titan
parent ba0a27c3ea
commit 6ccba8cb7d
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ static void add_exif_to_container(Ewl_Widget *w, void *event, void *data)
ecore_list_set_free_cb(values, free);
img = get_image();
if(!img) return;
exif_info = get_exif_data(img);
if(ecore_hash_count(exif_info) == 0)