diff options
| author | 2019-09-24 23:03:44 +0200 | |
|---|---|---|
| committer | 2019-09-24 23:04:27 +0200 | |
| commit | 41ebf1a5a196fd3293c1f151cd15aad2b1aa43a0 (patch) | |
| tree | ac97b87b09a6b64ec85dc175227a614a1cd70c57 /dicealias.cpp | |
| parent | d1a9d4918ad55ab4944d363a5f34c0119f70d4ad (diff) | |
| download | OneRoll-41ebf1a5a196fd3293c1f151cd15aad2b1aa43a0.tar.gz OneRoll-41ebf1a5a196fd3293c1f151cd15aad2b1aa43a0.zip | |
Fix error on range computation
Diffstat (limited to 'dicealias.cpp')
| -rw-r--r-- | dicealias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |