fix bit operation (Coccinelle)

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15184 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Marcus Meissner
2014-09-17 13:43:11 +00:00
parent e14440ecfa
commit fba1cf0455

View File

@@ -192,7 +192,7 @@ camera_capture (Camera *camera, CameraCaptureType type,
/* Not all our cameras support capture */
gp_camera_get_abilities (camera, &a);
if (!a.operations & GP_OPERATION_CAPTURE_IMAGE)
if (!(a.operations & GP_OPERATION_CAPTURE_IMAGE))
return GP_ERROR_NOT_SUPPORTED;
if (cam_has_flash(camera->pl))