diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 18:26:07 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 18:26:07 +0100 |
commit | 445dc18bf3e37044e17083fe76f76c17ceb6a0d7 (patch) | |
tree | 315f7cf2a7934b0ecf45ac2caa3c87949a90dfc4 /src/camera/ImportPage.vala | |
parent | 918f560d56129ed03f19d843ea2efd7cb4b23821 (diff) | |
parent | 394326a81d1248bbc5b1a35a8ae623c65ef6a9ea (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/camera/ImportPage.vala')
-rw-r--r-- | src/camera/ImportPage.vala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/camera/ImportPage.vala b/src/camera/ImportPage.vala index a5d3b4e..463317b 100644 --- a/src/camera/ImportPage.vala +++ b/src/camera/ImportPage.vala @@ -1346,10 +1346,7 @@ public class ImportPage : CheckerboardPage { } } - public static string? get_fulldir(GPhoto.Camera camera, string camera_name, int fsid, string folder) { - if (folder.length > GPhoto.MAX_BASEDIR_LENGTH) - return null; - + public static string? get_fulldir(GPhoto.Camera camera, string camera_name, int fsid, string folder) { string basedir = get_fs_basedir(camera, fsid); if (basedir == null) { debug("Unable to find base directory for %s fsid %d", camera_name, fsid); |