From 07fd511e143f8fd17d9e662ca0c060527c29e0e1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 10 Nov 2019 23:53:57 +0100 Subject: options: remove M_SETOPT_RUNTIME Used to contain flags for "save" setting of options at runtime. Now there is nothing special needed anymore and it's 0. So drop it completely, and remove anything that distinguishes between runtime and initialization time. --- player/configfiles.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'player/configfiles.c') diff --git a/player/configfiles.c b/player/configfiles.c index 93fd645d1f..668b34c542 100644 --- a/player/configfiles.c +++ b/player/configfiles.c @@ -94,8 +94,7 @@ static int try_load_config(struct MPContext *mpctx, const char *file, int flags, // Set options file-local, and don't set them if the user set them via the // command line. -#define FILE_LOCAL_FLAGS \ - (M_SETOPT_BACKUP | M_SETOPT_RUNTIME | M_SETOPT_PRESERVE_CMDLINE) +#define FILE_LOCAL_FLAGS (M_SETOPT_BACKUP | M_SETOPT_PRESERVE_CMDLINE) static void mp_load_per_file_config(struct MPContext *mpctx) { -- cgit v1.2.3