diff options
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/ScintillaWin.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index fc4b336c7..faf2dfb61 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -811,6 +811,7 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam  						char inBufferCP[20];  						int size = ::WideCharToMultiByte(cpDest,  							0, wcs, 1, inBufferCP, sizeof(inBufferCP) - 1, 0, 0); +						inBufferCP[size] = '\0';  						AddCharUTF(inBufferCP, size);  					}  				} else { | 
