From cd398af3b6e32544ecb00e8d18672e2a9c259c0e Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Thu, 18 Oct 2018 21:44:20 -0600 Subject: [PATCH] Disable copying folder to clipboard, as folder copying doesn't work --- arm9/source/file_browse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/file_browse.cpp b/arm9/source/file_browse.cpp index 7dc41fc..5ef0dc5 100644 --- a/arm9/source/file_browse.cpp +++ b/arm9/source/file_browse.cpp @@ -585,7 +585,7 @@ string browseForFile (void) { getDirectoryContents (dirContents); } } - } else if (strcmp(entry->name.c_str(), "..") != 0) { + } else if ((strcmp(entry->name.c_str(), "..") != 0) && !entry->isDirectory) { snprintf(clipboard, sizeof(clipboard), "%s%s", path, entry->name.c_str()); snprintf(clipboardFilename, sizeof(clipboardFilename), "%s", entry->name.c_str()); clipboardOn = true;