diff options
author | matthijs <matthijs@openttd.org> | 2014-10-23 10:49:14 +0000 |
---|---|---|
committer | matthijs <matthijs@openttd.org> | 2014-10-23 10:49:14 +0000 |
commit | 815567c39b34f9b72292f8701e5a108105e74db8 (patch) | |
tree | b0131e75fbec69b50d1cc8387dbc59b17b8ba302 /projects | |
parent | e3791822b2c38ffd18770e524a75d2c7e8cf0832 (diff) | |
download | openttd-815567c39b34f9b72292f8701e5a108105e74db8.tar.xz |
(svn r27033) -Codechange: Generalize GetTextfile for multiple extensions
- Instead of hardcoding the .txt extension in a printf string, it is
now stored in an array of possible extensions. This array still only
contains .txt, so behaviour is unchanged, but this makes it easier
to add other extensions later.
Diffstat (limited to 'projects')
0 files changed, 0 insertions, 0 deletions