From 03df13f34c85a8a9906a20cf07e08f17b6af9d90 Mon Sep 17 00:00:00 2001 From: "Such Meme, Many Skill" Date: Sun, 5 Apr 2020 00:33:12 +0200 Subject: [PATCH] don't forget to reset the clipboard helper --- source/tegraexplorer/fs/filemenu.c | 1 - source/tegraexplorer/fs/fsmenu.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tegraexplorer/fs/filemenu.c b/source/tegraexplorer/fs/filemenu.c index 8a52f0e..ee1dbf7 100644 --- a/source/tegraexplorer/fs/filemenu.c +++ b/source/tegraexplorer/fs/filemenu.c @@ -111,7 +111,6 @@ void copyfile(const char *src_in, const char *outfolder){ free(out); free(filename); fsreader_readfolder(currentpath); - clipboardhelper = 0; } int filemenu(menu_entry file){ diff --git a/source/tegraexplorer/fs/fsmenu.c b/source/tegraexplorer/fs/fsmenu.c index 7a56e8b..91f30e9 100644 --- a/source/tegraexplorer/fs/fsmenu.c +++ b/source/tegraexplorer/fs/fsmenu.c @@ -48,6 +48,7 @@ void fileexplorer(const char *startpath, int type){ copyfolder(clipboard, currentpath); else copyfile(clipboard, currentpath); + clipboardhelper = 0; break; case FILEMENU_CURFOLDER: