aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/PropSetSimple.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-03 07:44:56 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-03 07:44:56 +1000
commit5e57df2146614bf2c344fcb4a5c54f08ec5f1add (patch)
tree034f560e9be8814f86d60924827dd3b607affb31 /lexlib/PropSetSimple.h
parenta89c20b95b80e21061ed34289e043616221320fb (diff)
downloadscintilla-mirror-5e57df2146614bf2c344fcb4a5c54f08ec5f1add.tar.gz
Backport: Simplify PropSetSimple, avoid casts, use nullptr.
Backport of changeset 6788:e9f6386c89d4.
Diffstat (limited to 'lexlib/PropSetSimple.h')
-rw-r--r--lexlib/PropSetSimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/PropSetSimple.h b/lexlib/PropSetSimple.h
index 91b170df3..ba4e42446 100644
--- a/lexlib/PropSetSimple.h
+++ b/lexlib/PropSetSimple.h
@@ -16,7 +16,7 @@ class PropSetSimple {
public:
PropSetSimple();
virtual ~PropSetSimple();
- void Set(const char *key, const char *val, int lenKey=-1, int lenVal=-1);
+ void Set(const char *key, const char *val, size_t lenKey, size_t lenVal);
void SetMultiple(const char *);
const char *Get(const char *key) const;
int GetExpanded(const char *key, char *result) const;