aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-03-12 17:15:24 +1100
committerNeil <nyamatongwe@gmail.com>2015-03-12 17:15:24 +1100
commitcd59192b2b7132761c4ae806f76462758d5ed22e (patch)
tree3c2e5f331e14fae9dafaf4bad18422db498a5539
parent3aff75b4830ea69da17e87fdfe11c4df5a4d884d (diff)
downloadscintilla-mirror-cd59192b2b7132761c4ae806f76462758d5ed22e.tar.gz
Reduce size of buffers allocated on stack to avoid warnings from Visual Studio
analyze.
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 853473e11..3fdfc6065 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -479,7 +479,7 @@ public:
}
};
-const int stackBufferLength = 10000;
+const int stackBufferLength = 1000;
class TextWide : public VarBuffer<wchar_t, stackBufferLength> {
public:
int tlen;