Skip to content

Commit 0a6f1b6

Browse files
fix back to root
1 parent 74edc9e commit 0a6f1b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kernel/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ int folderIndex (char *file, char parent, char *path)
142142
}
143143
}
144144

145-
if (file[P * 16 + 1] == 0XFF)
145+
if (file[P * 16 + 1] == 0XFF || P == 0XFF)
146146
{
147147
return P;
148148
}

0 commit comments

Comments
 (0)