We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd10e8c commit 2a82266Copy full SHA for 2a82266
1 file changed
filesystem/directory/isfs/source/main.c
@@ -383,7 +383,7 @@ int main(int argc, char** argv) {
383
selected_index = parent.childCount-1;
384
else
385
selected_index++;
386
- } if((pressed & WPAD_BUTTON_A) && !IsDir(&(parent.children[selected_index]))) {
+ } if((pressed & WPAD_BUTTON_A) && IsDir(&(parent.children[selected_index]))) {
387
// Check for . and .. on parent.children[selected_index].name
388
if (strcmp(parent.children[selected_index].name, "..") == 0) {
389
// Chop off the last directory if it's ".."
0 commit comments