commit 97f3cef9ce0a984aa3d724c5650ec37b50b56018
parent e000b941af5e17a1e46447f3e80840da49366792
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Wed, 12 Aug 2020 20:12:26 +0200
improve style
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/btl/src/optparser.hpp b/btl/src/optparser.hpp
@@ -151,7 +151,8 @@ bool show(
fputs( "(current value: \"", target );
char const* current = *static_cast<char *const*>( val );
- fputs( current ? current : "", target );
+ current = current ? current : "";
+ fputs( current, target );
fputs( "\")", target );
return false;
}