mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 06:50:27 +00:00
in mymake, changed tests to use isalnum
This commit is contained in:
parent
0813fb65ca
commit
64fb9ed24a
@ -94,7 +94,7 @@ int main(int argc, char **argv) {
|
||||
obj_dir += "/";
|
||||
setdir += "../";
|
||||
for(char c: s)
|
||||
if(c == '=' || c == '-' || c == '/' || c == '"' || c == '\\') obj_dir += "_";
|
||||
if(!isalnum(c)) obj_dir += "_";
|
||||
else obj_dir += c;
|
||||
}
|
||||
else if(s == "-win") {
|
||||
@ -117,7 +117,7 @@ int main(int argc, char **argv) {
|
||||
obj_dir += "/";
|
||||
setdir += "../";
|
||||
for(char c: s)
|
||||
if(c == '=' || c == '-' || c == '/') obj_dir += "_";
|
||||
if(!isalnum(c)) obj_dir += "_";
|
||||
else obj_dir += c;
|
||||
linker += " " + s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user