gphoto2: Add missing brackets.
This commit is contained in:
parent
ffbca82668
commit
4945a255e4
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue