diff options
| author | nyamatongwe <devnull@localhost> | 2010-11-10 22:15:14 +1100 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-11-10 22:15:14 +1100 |
| commit | f274156575e9eabfe011b7934d4c9a547c8270f7 (patch) | |
| tree | 720b1407bd8b1312d672062dff955b83163468ba /win32/ScintillaWin.cxx | |
| parent | 338abd6dbcd93555cdff67161155018de2728058 (diff) | |
| download | scintilla-mirror-f274156575e9eabfe011b7934d4c9a547c8270f7.tar.gz | |
Remove support for Borland C++.
Use a library for the lexers with MSVC to simplify SciTE makefile.
Diffstat (limited to 'win32/ScintillaWin.cxx')
| -rw-r--r-- | win32/ScintillaWin.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 7f7f4e980..99ba47ff9 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -75,11 +75,9 @@ #endif #include <commctrl.h> -#ifndef __BORLANDC__ #ifndef __DMC__ #include <zmouse.h> #endif -#endif #include <ole2.h> #ifndef MK_ALT @@ -1375,12 +1373,12 @@ public: LCMAP_LINGUISTIC_CASING | LCMAP_LOWERCASE, &utf16Mixed[0], nUtf16Mixed, &utf16Folded[0], utf16Folded.size()); - size_t lenOut = ::WideCharToMultiByte(cp, 0, + size_t lenOut = ::WideCharToMultiByte(cp, 0, &utf16Folded[0], lenFlat, NULL, 0, NULL, 0); if (lenOut < sizeFolded) { - ::WideCharToMultiByte(cp, 0, + ::WideCharToMultiByte(cp, 0, &utf16Folded[0], lenFlat, folded, lenOut, NULL, 0); return lenOut; |
