From d056719a368a1e052912cb6efe05367ac6b55251 Mon Sep 17 00:00:00 2001 From: Thomas Lauf Date: Sun, 27 Nov 2022 22:36:29 +0100 Subject: [PATCH] Enable to enter quoted hints as config value Signed-off-by: Thomas Lauf --- src/commands/CmdConfig.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/CmdConfig.cpp b/src/commands/CmdConfig.cpp index ce103b03..2745002a 100644 --- a/src/commands/CmdConfig.cpp +++ b/src/commands/CmdConfig.cpp @@ -24,11 +24,8 @@ // //////////////////////////////////////////////////////////////////////////////// -#include #include -#include #include -#include #include #include @@ -86,6 +83,8 @@ int CmdConfig ( value += words[i]; } + value = Lexer::dequote (value); + change = Rules::setConfigVariable (journal, rules, name, value, confirmation); if (!change)