summaryrefslogtreecommitdiff
path: root/media/openttd.desktop
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-07-01 19:59:13 +0200
committerPatric Stout <github@truebrain.nl>2021-07-02 14:30:14 +0200
commit66dc0ce1965bd033b6b52712c3db7a768ff2fba9 (patch)
tree31db681e156ac1a42982c048cb18878fb2169743 /media/openttd.desktop
parenta42251fc72d2196c26abfcc77c7fe0277798d3d4 (diff)
downloadopenttd-66dc0ce1965bd033b6b52712c3db7a768ff2fba9.tar.xz
Codechange: C++-ify the usage of IniFile in settings.cpp
Instead of creating the object on heap and use a pointer, create the object on stack and use a guaranteed-not-null pointer. The size of IniFile doesn't warrent the forcing to heap. Additionally, use a subclass instead of a function to do some initial bookkeeping on an IniFile meant to read a configuration.
Diffstat (limited to 'media/openttd.desktop')
0 files changed, 0 insertions, 0 deletions