From 41ebf1a5a196fd3293c1f151cd15aad2b1aa43a0 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Tue, 24 Sep 2019 23:03:44 +0200 Subject: Fix error on range computation --- dicealias.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dicealias.cpp b/dicealias.cpp index 0378867..50668a8 100644 --- a/dicealias.cpp +++ b/dicealias.cpp @@ -51,7 +51,7 @@ QString makeReplament(const QString& pattern, const QString& replacement, QStrin auto hasQuote= false; for(auto range : quotes) { - if(idxPattern < range.second && idxPattern > range.first) + if(idxPattern < range.second && idxPattern >= range.first) hasQuote= true; } -- cgit v1.2.3-70-g09d2