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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user