diff options
-rw-r--r-- | crawl-ref/source/libutil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libutil.cc b/crawl-ref/source/libutil.cc index 9b492329cd..c5751a27eb 100644 --- a/crawl-ref/source/libutil.cc +++ b/crawl-ref/source/libutil.cc @@ -114,7 +114,7 @@ std::string apply_description(description_level_type desc, // the shell can do damage with. bool shell_safe(const char *file) { - int match = strcspn(file, "\\`$*?|><&\n!"); + int match = strcspn(file, "\\`$*?|><&\n!;"); return !(match >= 0 && file[match]); } |