Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
95233b21
Commit
95233b21
authored
Aug 04, 2004
by
gbazin
Browse files
* src/misc/modules.c: don't forget to save callbacks for config options in the plugins cache.
parent
1559e11e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/modules.c
View file @
95233b21
...
...
@@ -1745,7 +1745,7 @@ int CacheLoadConfig( module_t *p_module, FILE *file )
}
}
p_module
->
p_config
[
i
].
pf_callback
=
0
;
LOAD_IMMEDIATE
(
p_module
->
p_config
[
i
].
pf_callback
)
;
}
p_module
->
p_config
[
i
].
i_type
=
CONFIG_HINT_END
;
...
...
@@ -1936,6 +1936,8 @@ void CacheSaveConfig( module_t *p_module, FILE *file )
for
(
j
=
0
;
j
<
p_module
->
p_config
[
i
].
i_action
;
j
++
)
SAVE_STRING
(
p_module
->
p_config
[
i
].
ppsz_action_text
[
j
]
);
SAVE_IMMEDIATE
(
p_module
->
p_config
[
i
].
pf_callback
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment