Skip to content

Commit eebf43c

Browse files
fix shell directory display and folderloader
1 parent 0a6f1b6 commit eebf43c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/kernel/shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ void printCurrentDirectory(char currentDirectory)
209209
}
210210
if (i > 0)
211211
{
212-
stringToShow[current] = "/";
212+
stringToShow[current] = '/';
213213
current++;
214214
}
215215
i--;

src/loader/folderloader/folderloader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ func main() {
8989
return
9090
}
9191

92-
fileData[emptyFileRow] = 0xFF
93-
fileData[emptyFileRow+1] = byte(parentIndexInteger)
92+
fileData[emptyFileRow+1] = 0xFF
93+
fileData[emptyFileRow] = byte(parentIndexInteger)
9494

9595
MoveBack(data, mapData, 512, mapDataLocation)
9696
MoveBack(data, fileData, 1024, fileDataLocation)

0 commit comments

Comments
 (0)