Unverified 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
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment