diff --git a/dlls/gphoto2.ds/ui.c b/dlls/gphoto2.ds/ui.c
index 7d43744765d0af5cd755b0156a75e9966b095279..dd802fd8deedcbe11f650d0f37201f01a3497603 100644
--- a/dlls/gphoto2.ds/ui.c
+++ b/dlls/gphoto2.ds/ui.c
@@ -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;
 }