diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-06-22 10:31:34 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-06-22 10:31:34 +0200 |
commit | d5113c897df9a7107277fa25e9c388051be2ce14 (patch) | |
tree | 7ceb40c567820716c42647ae3f3d3e4177ed1b1f /crawl-ref/source/util/gen-apt.pl | |
parent | 89f1d789f04752499c9ad1052b15de7ff7fb2c6f (diff) | |
download | crawl-ref-d5113c897df9a7107277fa25e9c388051be2ce14.tar.gz crawl-ref-d5113c897df9a7107277fa25e9c388051be2ce14.zip |
Be more forgiving about EOL conversions when generating aptitudes.
Diffstat (limited to 'crawl-ref/source/util/gen-apt.pl')
-rwxr-xr-x | crawl-ref/source/util/gen-apt.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/util/gen-apt.pl b/crawl-ref/source/util/gen-apt.pl index 551147e56f..3f7a1bfeec 100755 --- a/crawl-ref/source/util/gen-apt.pl +++ b/crawl-ref/source/util/gen-apt.pl @@ -216,7 +216,7 @@ sub load_mods { my @species; while (<$inf>) { - $table = $1 if m{// table: ([A-Za-z ]+)$}; + $table = $1 if m{// table: ([A-Za-z ]+)\s*$}; next unless $table; if (/SP_(\w+)/) { |