mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-22 22:10:20 +00:00
add more escaping to -D option,
to allow e.g. specifying HYPERPATH
This commit is contained in:
parent
1ac8aa2bc6
commit
e05a2f9b87
@ -94,7 +94,7 @@ int main(int argc, char **argv) {
|
||||
obj_dir += "/";
|
||||
setdir += "../";
|
||||
for(char c: s)
|
||||
if(c == '=' || c == '-' || c == '/') obj_dir += "_";
|
||||
if(c == '=' || c == '-' || c == '/' || c == '"' || c == '\\') obj_dir += "_";
|
||||
else obj_dir += c;
|
||||
}
|
||||
else if(s == "-win") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user