From cd97ebd776c54a95118263350e5d1e9b240c5cc6 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Sat, 13 Aug 2022 17:22:23 +0200 Subject: clang-tidy: fix bugprone-branch-clone in stm8generalsettingsgroup_v3.cpp Change-Id: I8c026b01e546bc25468c1852fbf0ec09f09c56aa Reviewed-by: Christian Kandeler Reviewed-by: Denis Shienkov --- .../generator/iarew/archs/stm8/stm8generalsettingsgroup_v3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/generator/iarew') diff --git a/src/plugins/generator/iarew/archs/stm8/stm8generalsettingsgroup_v3.cpp b/src/plugins/generator/iarew/archs/stm8/stm8generalsettingsgroup_v3.cpp index 9477bc36e..83766442b 100644 --- a/src/plugins/generator/iarew/archs/stm8/stm8generalsettingsgroup_v3.cpp +++ b/src/plugins/generator/iarew/archs/stm8/stm8generalsettingsgroup_v3.cpp @@ -205,7 +205,7 @@ struct LibraryOptionsPageOptions final else if (prop == QLatin1String("_printffullnomb")) printfFormatter = PrintfFullNoMultibytesFormatter; else if (prop == QLatin1String("_printflarge")) - printfFormatter = PrintfLargeFormatter; + printfFormatter = PrintfLargeNoMultibytesFormatter; else if (prop == QLatin1String("_printflargenomb")) printfFormatter = PrintfLargeFormatter; else if (prop == QLatin1String("_printfsmall")) @@ -223,7 +223,7 @@ struct LibraryOptionsPageOptions final else if (prop == QLatin1String("_scanffullnomb")) scanfFormatter = ScanfFullNoMultibytesFormatter; else if (prop == QLatin1String("_scanflarge")) - scanfFormatter = ScanfLargeFormatter; + scanfFormatter = ScanfLargeNoMultibytesFormatter; else if (prop == QLatin1String("_scanflargenomb")) scanfFormatter = ScanfLargeFormatter; else if (prop == QLatin1String("_scanfsmall")) -- cgit v1.2.3