Fix debugging message.

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4126 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Lutz Mueller
2002-02-11 09:51:29 +00:00
parent bca63977ea
commit 7cf857a7a4

View File

@@ -528,8 +528,8 @@ gp_filesystem_folder_number (CameraFilesystem *fs, const char *folder,
CR (x = gp_filesystem_folder_number (fs, buf, context));
if (!fs->folder[x].folders_dirty) {
gp_context_error (context,
_("Folder '%s' does not contain a folder '%s'."),
buf, folder + strlen (buf) + 1);
_("Folder '%s' does not contain a folder '%s'."), buf,
folder + strlen (buf) + ((strlen (buf) == 1) ? 0 : 1));
return (GP_ERROR_DIRECTORY_NOT_FOUND);
}