aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/PropSetSimple.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-12-15 10:46:39 +1100
committerNeil <nyamatongwe@gmail.com>2013-12-15 10:46:39 +1100
commit7c020de8903c45bcc32795e28cc13a32285513f3 (patch)
tree07122e00dc818dd09b200fb7a1e80980ab2699fa /lexlib/PropSetSimple.cxx
parent90990e1c3f2a1ea94c5ff4449f991652e2cd9e14 (diff)
downloadscintilla-mirror-7c020de8903c45bcc32795e28cc13a32285513f3.tar.gz
Format normalization - whitespace and braces made consistent.
Parameter names added to method declarations.
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 9197fb642..6792eea15 100644
--- a/lexlib/PropSetSimple.cxx
+++ b/lexlib/PropSetSimple.cxx
@@ -61,7 +61,7 @@ void PropSetSimple::Set(const char *keyVal) {
endVal++;
const char *eqAt = strchr(keyVal, '=');
if (eqAt) {
- Set(keyVal, eqAt + 1, static_cast<int>(eqAt-keyVal),
+ Set(keyVal, eqAt + 1, static_cast<int>(eqAt-keyVal),
static_cast<int>(endVal - eqAt - 1));
} else if (*keyVal) { // No '=' so assume '=1'
Set(keyVal, "1", static_cast<int>(endVal-keyVal), 1);