diff options
author | nyamatongwe <devnull@localhost> | 2003-04-30 11:36:40 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-04-30 11:36:40 +0000 |
commit | 302d9eb0c830e42e0c4364b3a5ef59276a3f0326 (patch) | |
tree | 1347618cf9ce9b11b3172525a3958941e1529548 /include/PropSet.h | |
parent | 1b1ae40a5eecd9a3b70cddfa23d7f7eb9d09eba1 (diff) | |
download | scintilla-mirror-302d9eb0c830e42e0c4364b3a5ef59276a3f0326.tar.gz |
Protection from runaway recursion.
Diffstat (limited to 'include/PropSet.h')
-rw-r--r-- | include/PropSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/PropSet.h b/include/PropSet.h index 59588c62e..b32082491 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -38,7 +38,7 @@ public: void SetMultiple(const char *s); SString Get(const char *key); SString GetExpanded(const char *key); - SString Expand(const char *withVars); + SString Expand(const char *withVars, int maxExpands=100); int GetInt(const char *key, int defaultValue=0); SString GetWild(const char *keybase, const char *filename); SString GetNewExpand(const char *keybase, const char *filename=""); |