vlc | branch: master | Lyndon Brown <jnq...@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 <rob...@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);
 }

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to