diff options
author | Neil <nyamatongwe@gmail.com> | 2023-06-23 22:10:26 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-06-23 22:10:26 +1000 |
commit | 816095e1fabb5d67218b1ef24b28476bbf4a4235 (patch) | |
tree | 02e0aa962441d3e39764c78fbd9f6439e622c856 /win32 | |
parent | 66dabba655f3760ccafe95975be9ce7d0283331d (diff) | |
download | scintilla-mirror-816095e1fabb5d67218b1ef24b28476bbf4a4235.tar.gz |
Ensure local variable initialised.
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 964b3ee3c..e38ba6386 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -3030,7 +3030,7 @@ void ScintillaWin::ImeStartComposition() { // Move IME Window to current caret position IMContext imc(MainHWND()); const Point pos = PointMainCaret(); - COMPOSITIONFORM CompForm; + COMPOSITIONFORM CompForm {}; CompForm.dwStyle = CFS_POINT; CompForm.ptCurrentPos = POINTFromPoint(pos); |