aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-09-14 11:18:29 +0000
committernyamatongwe <devnull@localhost>2008-09-14 11:18:29 +0000
commit13b6069018797a0b2a7c0f29be5e0026013aeffa (patch)
tree52ececd417b7dacdb004c6d27691c6c9ce808082
parenteb04a7a15b883f05b1febe30a16685c83ff3c3fb (diff)
downloadscintilla-mirror-13b6069018797a0b2a7c0f29be5e0026013aeffa.tar.gz
Avoid warning.
-rw-r--r--win32/PlatWin.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index 76819b8a7..7345fc8f2 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -687,11 +687,11 @@ public:
};
const int stackBufferLength = 10000;
-typedef VarBuffer<wchar_t, stackBufferLength> TextWideT;
-class TextWide : public TextWideT {
+class TextWide : public VarBuffer<wchar_t, stackBufferLength> {
public:
int tlen;
- TextWide(const char *s, int len, bool unicodeMode, int codePage=0) : TextWideT(len) {
+ TextWide(const char *s, int len, bool unicodeMode, int codePage=0) :
+ VarBuffer<wchar_t, stackBufferLength>(len) {
if (unicodeMode) {
tlen = UTF16FromUTF8(s, len, buffer, len);
} else {