aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/PropSetSimple.cxx
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2018-04-14 09:18:35 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2018-04-14 09:18:35 +1000
commitcc0af579fe23e74cce1fdc41ab53895cb18e396a (patch)
tree14fa25832551eb73002b67475a8b2da7532fc2a9 /lexlib/PropSetSimple.cxx
parent0f6f1b05894d29f03bc2b57e75fe4c8a37f9ac21 (diff)
downloadscintilla-mirror-cc0af579fe23e74cce1fdc41ab53895cb18e396a.tar.gz
Make some changes recommended by clang-tidy.
Diffstat (limited to 'lexlib/PropSetSimple.cxx')
-rw-r--r--lexlib/PropSetSimple.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/PropSetSimple.cxx b/lexlib/PropSetSimple.cxx
index e8f0364fa..ed473bc3b 100644
--- a/lexlib/PropSetSimple.cxx
+++ b/lexlib/PropSetSimple.cxx
@@ -100,7 +100,7 @@ struct VarChain {
static int ExpandAllInPlace(const PropSetSimple &props, std::string &withVars, int maxExpands, const VarChain &blankVars) {
size_t varStart = withVars.find("$(");
while ((varStart != std::string::npos) && (maxExpands > 0)) {
- const size_t varEnd = withVars.find(")", varStart+2);
+ const size_t varEnd = withVars.find(')', varStart+2);
if (varEnd == std::string::npos) {
break;
}