gphoto2: Add missing brackets.

This commit is contained in:
Lei Zhang 2007-08-23 13:21:31 -07:00 committed by Alexandre Julliard
parent ffbca82668
commit 4945a255e4
1 changed files with 2 additions and 0 deletions

View File

@ -80,8 +80,10 @@ static int GetAllImages()
LIST_FOR_EACH_ENTRY( file, &activeDS.files, struct gphoto2_file, entry)
{
if (strstr(file->filename,".JPG") || strstr(file->filename,".jpg"))
{
file->download = TRUE;
has_images = 1;
}
}
return has_images;
}