diff options
| author | nyamatongwe <devnull@localhost> | 2010-05-02 00:06:01 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-05-02 00:06:01 +0000 |
| commit | cd6d44de2ad5b93909c50db3cf467821db392f75 (patch) | |
| tree | 2f6dee1cbfd0205f0cae6784609eb094f3299ba8 /win32 | |
| parent | e41eecbf8bcc23eba2e3a3e928b8ec2963bc71d2 (diff) | |
| download | scintilla-mirror-cd6d44de2ad5b93909c50db3cf467821db392f75.tar.gz | |
Bug #2995278 minor fixes to typos and types.
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/ScintillaWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 6249f21b8..30fe7b2bd 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1375,7 +1375,7 @@ std::string ScintillaWin::CaseMapString(const std::string &s, int caseMapping) { UINT cpDoc = CodePageOfDocument(); - unsigned int lengthUTF16 = ::MultiByteToWideChar(cpDoc, 0, s.c_str(), s.size(), NULL, NULL); + unsigned int lengthUTF16 = ::MultiByteToWideChar(cpDoc, 0, s.c_str(), s.size(), NULL, 0); if (lengthUTF16 == 0) // Failed to convert return s; |
