diff options
author | wm4 <wm4@nowhere> | 2014-02-26 20:32:14 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-26 21:03:35 +0100 |
commit | 8461143ed7c0088fe08379898e74a7fbcf0a9d1e (patch) | |
tree | 43816d6e3b6165a640a862c282dc480c2b0f7bca /old-makefile | |
parent | c176f2be39c26509fa1588ba1365427eff43b06f (diff) | |
download | mpv-8461143ed7c0088fe08379898e74a7fbcf0a9d1e.tar.bz2 mpv-8461143ed7c0088fe08379898e74a7fbcf0a9d1e.tar.xz |
m_option: don't make "unset" string and string list return NULL strings
This is a bit weird: m_option_string types (i.e. char*) can be NULL. But
they're supposed to be treated just like empty strings. So don't make
the m_option_type.print function return NULL for these values. Returning
NULL would mean failure.
This didn't matter much before, but was quite visible through the client
API.
Diffstat (limited to 'old-makefile')
0 files changed, 0 insertions, 0 deletions