tools

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

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

fix SET_VAL_IGN return when there is no value

Diffstat:
Mbtl/src/optparser.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/btl/src/optparser.cpp b/btl/src/optparser.cpp @@ -84,7 +84,7 @@ parse_error_t parse_cmd_opt( char const* arg, opt_desc_t* start, opt_desc_t cons return SET_NO_VAL; } - if( !opt->value && empty_array( argv ) ) + if( !opt->value && !empty_array( argv ) ) { return SET_VAL_IGN; }