aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-07-03 09:37:44 +0000
committernyamatongwe <unknown>2000-07-03 09:37:44 +0000
commit2f1d40dc70d3a289f1a572ee8a8dd09fdc7042ee (patch)
treeffd5aa64dc9f037993345a3dab2e962eace8b7c0
parente7567ac8b5997b2e2e98cf0af6105392924b3ef7 (diff)
downloadscintilla-mirror-2f1d40dc70d3a289f1a572ee8a8dd09fdc7042ee.tar.gz
Changed MAX_PATH to 1024 to make GTK+ version compile.
-rw-r--r--src/PropSet.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PropSet.cxx b/src/PropSet.cxx
index 2558201a6..6fc02cb0a 100644
--- a/src/PropSet.cxx
+++ b/src/PropSet.cxx
@@ -258,11 +258,11 @@ void PropSet::ReadFromMemory(const char *data, int len, const char *directoryFor
const char *expr = linebuf + strlen("if") + 1;
ifIsTrue = GetInt(expr);
} else if (isprefix(linebuf, "import ") && directoryForImports) {
- char importPath[MAX_PATH];
+ char importPath[1024];
strcpy(importPath, directoryForImports);
strcat(importPath, linebuf + strlen("import") + 1);
strcat(importPath, ".properties");
- Read(importPath,directoryForImports);
+ Read(importPath,directoryForImports);
} else if (isalpha(linebuf[0])) {
Set(linebuf);
} else if (isspace(linebuf[0]) && ifIsTrue) {