[vlc-commits] config: mark dirty in config_ResetAll()
Lyndon Brown
git at videolan.org
Wed Oct 14 15:37:41 CEST 2020
vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Wed May 20 03:41:17 2020 +0200| [3cad40f5febc8580e786f64f8b157d1090be1e09] | committer: Steve Lhomme
config: mark dirty in config_ResetAll()
this changes the values of config items, so should therefore be marking
the config as dirty after doing so, for consistency at least, even if it
is always paired with a config save
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3cad40f5febc8580e786f64f8b157d1090be1e09
---
src/config/core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/config/core.c b/src/config/core.c
index d2cdb3c468..8110da4814 100644
--- a/src/config/core.c
+++ b/src/config/core.c
@@ -504,5 +504,6 @@ void config_ResetAll(void)
}
}
}
+ config_dirty = true;
vlc_rwlock_unlock (&config_lock);
}
More information about the vlc-commits
mailing list