From 7cf857a7a4e4f0ff7281eeed822af2d95cb982d4 Mon Sep 17 00:00:00 2001 From: Lutz Mueller Date: Mon, 11 Feb 2002 09:51:29 +0000 Subject: [PATCH] Fix debugging message. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4126 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2/gphoto2-filesys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgphoto2/gphoto2-filesys.c b/libgphoto2/gphoto2-filesys.c index 22c13c10f..27e79e37c 100644 --- a/libgphoto2/gphoto2-filesys.c +++ b/libgphoto2/gphoto2-filesys.c @@ -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); }