mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
parent
20317226fb
commit
aee01e4020
@ -490,15 +490,15 @@ string browseForFile (void) {
|
|||||||
if (fileBrowse_paste()) {
|
if (fileBrowse_paste()) {
|
||||||
getDirectoryContents (dirContents);
|
getDirectoryContents (dirContents);
|
||||||
}
|
}
|
||||||
} else {
|
} else if (strcmp(entry->name.c_str(), "..") != 0) {
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
getcwd(path, PATH_MAX);
|
getcwd(path, PATH_MAX);
|
||||||
snprintf(clipboard, sizeof(clipboard), "%s%s", path, entry->name.c_str());
|
snprintf(clipboard, sizeof(clipboard), "%s%s", path, entry->name.c_str());
|
||||||
snprintf(clipboardFilename, sizeof(clipboardFilename), "%s", entry->name.c_str());
|
snprintf(clipboardFilename, sizeof(clipboardFilename), "%s", entry->name.c_str());
|
||||||
clipboardOn = true;
|
clipboardOn = true;
|
||||||
clipboardDrive = secondaryDrive;
|
clipboardDrive = secondaryDrive;
|
||||||
|
clipboardUsed = true;
|
||||||
}
|
}
|
||||||
clipboardUsed = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((pressed & KEY_SELECT) && clipboardUsed) {
|
if ((pressed & KEY_SELECT) && clipboardUsed) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user