Skip to content
Snippets Groups Projects
Commit d2f0f229 authored by rahix's avatar rahix
Browse files

Merge 'take backslashes into account'

See merge request !292
parents f3ae4128 39a8dde8
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