Commit 4945a255 authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

gphoto2: Add missing brackets.

parent ffbca826
...@@ -80,8 +80,10 @@ static int GetAllImages() ...@@ -80,8 +80,10 @@ static int GetAllImages()
LIST_FOR_EACH_ENTRY( file, &activeDS.files, struct gphoto2_file, entry) LIST_FOR_EACH_ENTRY( file, &activeDS.files, struct gphoto2_file, entry)
{ {
if (strstr(file->filename,".JPG") || strstr(file->filename,".jpg")) if (strstr(file->filename,".JPG") || strstr(file->filename,".jpg"))
{
file->download = TRUE; file->download = TRUE;
has_images = 1; has_images = 1;
}
} }
return has_images; return has_images;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment