summaryrefslogtreecommitdiffstats
path: root/mpvcore/m_config.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-25 15:58:01 +0200
committerwm4 <wm4@nowhere>2013-10-25 18:39:15 +0200
commit2c6f6c9f4e025dc8e6b2e3288485c256d1c48657 (patch)
treec72f73c618ef721c1554a76e9d7b0f5650976627 /mpvcore/m_config.h
parent28d3fe1d6d5b2731fe69d928d25715efc1e0176d (diff)
downloadmpv-2c6f6c9f4e025dc8e6b2e3288485c256d1c48657.tar.bz2
mpv-2c6f6c9f4e025dc8e6b2e3288485c256d1c48657.tar.xz
m_config: slightly improve name handling
Diffstat (limited to 'mpvcore/m_config.h')
-rw-r--r--mpvcore/m_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/m_config.h b/mpvcore/m_config.h
index eaf3f6af2a..0cff62d7ed 100644
--- a/mpvcore/m_config.h
+++ b/mpvcore/m_config.h
@@ -38,7 +38,7 @@ struct m_obj_desc;
struct m_config_option {
bool is_generated : 1;
// Full name (ie option-subopt).
- char *name;
+ const char *name;
// Option description.
const struct m_option *opt;
// Raw value of the option.