tools

various tools
git clone git://deadbeef.fr/tools.git
Log | Files | Refs | README | LICENSE

commit b0addcbc64bcadab572338b81603e964ff622a23
parent 8d6b3a1c842b90919ba10bb6f58a59e34f99eed2
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date:   Wed, 12 Aug 2020 19:12:24 +0200

fix using char** as a char*

Diffstat:
Mbtl/src/optparser.hpp | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/btl/src/optparser.hpp b/btl/src/optparser.hpp @@ -150,7 +150,8 @@ bool show( } fputs( "(current value: \"", target ); - fputs( static_cast<char const*>( val ), target ); + char const* current = *static_cast<char *const*>( val ); + fputs( current ? current : "", target ); fputs( "\")", target ); return false; }