From f73b5ae0e7a2b461bdb59f72f2803645b48b0d7e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 2 May 2010 00:06:01 +0000 Subject: Bug #2995278 minor fixes to typos and types. --- win32/ScintillaWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') 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; -- cgit v1.2.3