diff options
author | nyamatongwe <unknown> | 2003-04-30 11:36:40 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-04-30 11:36:40 +0000 |
commit | 98d5a548eef2c15a47a5024e2ab7340cf444864c (patch) | |
tree | 1347618cf9ce9b11b3172525a3958941e1529548 | |
parent | f837e696b864b2bc5ce1aff2d7d789146d7f5fde (diff) | |
download | scintilla-mirror-98d5a548eef2c15a47a5024e2ab7340cf444864c.tar.gz |
Protection from runaway recursion.
-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=""); |