Minor stuff

This commit is contained in:
Aurora
2016-12-11 20:10:51 +01:00
parent 2f274e2f47
commit f89845257e
4 changed files with 14 additions and 19 deletions

View File

@@ -43,7 +43,7 @@ void main(void)
if(pathSize > 5 && pathSize < 58)
{
char path[58];
char path[57];
unsigned int read;
f_read(&pathFile, path, pathSize, &read);
if(path[pathSize - 1] == 0xA) pathSize--;