aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PropSet.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-02-02 11:30:38 +0000
committernyamatongwe <unknown>2001-02-02 11:30:38 +0000
commitf8a2076675b20171e976807c67d09191bf15b190 (patch)
tree62a78b988128da04ded744caf799f69ae4617ff0 /src/PropSet.cxx
parentae9a1eded9054cc476345870595cd14ab786a9c4 (diff)
downloadscintilla-mirror-f8a2076675b20171e976807c67d09191bf15b190.tar.gz
Used GetExpanded rather than Get when filling in variable file selectors so
they can be made up of other variables.
Diffstat (limited to 'src/PropSet.cxx')
-rw-r--r--src/PropSet.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx
index 4699195f8..2799e3c3e 100644
--- a/src/PropSet.cxx
+++ b/src/PropSet.cxx
@@ -125,7 +125,7 @@ SString PropSet::Expand(const char *withvars) {
}
int PropSet::GetInt(const char *key, int defaultValue) {
- SString val = Get(key);
+ SString val = GetExpanded(key);
if (val.length())
return val.value();
else
@@ -168,7 +168,7 @@ SString PropSet::GetWild(const char *keybase, const char *filename) {
char *cpendvar = strchr(orgkeyfile, ')');
if (cpendvar) {
*cpendvar = '\0';
- SString s = Get(orgkeyfile + 2);
+ SString s = GetExpanded(orgkeyfile + 2);
*cpendvar = ')';
keyfile = strdup(s.c_str());
}