Skip to content
Snippets Groups Projects
Verified Commit 39a8dde8 authored by dos's avatar dos
Browse files

fix(pycardium): take backslashes into account

FAT code works with both kinds of slashes.
parent f3ae4128
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,11 @@ bool pycrd_filename_restricted(const char *path)
path = fname + 1;
fname = strchr(path, '/');
}
fname = strchr(path, '\\');
while (fname) {
path = fname + 1;
fname = strchr(path, '\\');
}
fname = path;
for (int i = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment