diff options
author | Simon Howard | 2015-05-01 23:23:03 -0400 |
---|---|---|
committer | Simon Howard | 2015-05-01 23:23:03 -0400 |
commit | 63df9283035b7f221dcef0cd5d1e488da3af12b6 (patch) | |
tree | 93332df580cac4806aa8743626a503e5bd0d1748 /src/strife/st_stuff.c | |
parent | 4ee95eb27f4a71f78450d492a62e5abcd881c5c4 (diff) | |
download | chocolate-doom-63df9283035b7f221dcef0cd5d1e488da3af12b6.tar.gz chocolate-doom-63df9283035b7f221dcef0cd5d1e488da3af12b6.tar.bz2 chocolate-doom-63df9283035b7f221dcef0cd5d1e488da3af12b6.zip |
Perform case-insensitive check for .lmp extension.
When using the -playdemo parameter, we support a convenience feature
where the .lmp extension is not appended if it is already part of the
filename. This makes tab completion much nicer. But if the .lmp file
has a filename that is in all-caps (.LMP) we were still appending the
extension because the check was case sensitive. Change the check to
be case insensitive.
This fixes #501 (thanks Ioan Chera).
Diffstat (limited to 'src/strife/st_stuff.c')
0 files changed, 0 insertions, 0 deletions