add a comment for the system prefs file.
This commit is contained in:
parent
bf4b38b6d0
commit
927937bd8c
1 changed files with 2 additions and 0 deletions
|
@ -240,6 +240,8 @@ config* get_prefs(){
|
|||
void load_base_prefs() {
|
||||
try{
|
||||
#ifdef DEFAULT_PREFS_PATH
|
||||
// NOTE: the system preferences file is only ever relevant for the first time wesnoth starts
|
||||
// any default values will subsequently be written to the normal preferences file, which takes precedence over any values in the system preferences file
|
||||
filesystem::scoped_istream stream = filesystem::istream_file(filesystem::get_default_prefs_file(),false);
|
||||
read(prefs, *stream);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue