Small fix to my previous patch.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2075 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -526,6 +526,8 @@ gp_camera_file_get (Camera *camera, const char *folder, const char *file,
|
||||
if (strlen (file) == 0)
|
||||
return (GP_ERROR_FILE_NOT_FOUND);
|
||||
|
||||
CHECK_RESULT (gp_file_set_type (camera_file, type));
|
||||
|
||||
return (camera->functions->file_get (camera, folder, file, type,
|
||||
camera_file));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user