diff options
author | nyamatongwe <unknown> | 2001-02-02 11:30:38 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-02-02 11:30:38 +0000 |
commit | f8a2076675b20171e976807c67d09191bf15b190 (patch) | |
tree | 62a78b988128da04ded744caf799f69ae4617ff0 /src | |
parent | ae9a1eded9054cc476345870595cd14ab786a9c4 (diff) | |
download | scintilla-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')
-rw-r--r-- | src/PropSet.cxx | 4 |
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()); } |