aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-07-03 09:37:44 +0000
committernyamatongwe <devnull@localhost>2000-07-03 09:37:44 +0000
commit0a7ba09f0c8bd0f1c02b9286bd9ae036bcc08c19 (patch)
treeffd5aa64dc9f037993345a3dab2e962eace8b7c0
parent067aef7d295fe623e6b6bf7fe90b31819e37c8ba (diff)
downloadscintilla-mirror-0a7ba09f0c8bd0f1c02b9286bd9ae036bcc08c19.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) {