diff options
author | Neil <nyamatongwe@gmail.com> | 2022-09-05 08:57:44 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-09-05 08:57:44 +1000 |
commit | 938a37949acceedd26f322816b83ad2a3fd462c0 (patch) | |
tree | 98490bb6b7bf77f667413d23f3cb8e694e328990 /win32 | |
parent | 352b698505635527b4a772cbba92a1477f61cd0a (diff) | |
download | scintilla-mirror-938a37949acceedd26f322816b83ad2a3fd462c0.tar.gz |
Add const where reasonable.
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 92d86080f..24f70dce9 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -2257,7 +2257,7 @@ void ScintillaWin::SetTrackMouseLeaveEvent(bool on) noexcept { void ScintillaWin::UpdateBaseElements() { struct ElementToIndex { Element element; int nIndex; }; - ElementToIndex eti[] = { + const ElementToIndex eti[] = { { Element::List, COLOR_WINDOWTEXT }, { Element::ListBack, COLOR_WINDOW }, { Element::ListSelected, COLOR_HIGHLIGHTTEXT }, |