]> git.saurik.com Git - wxWidgets.git/commit
Rename lineAnchor in Scintilla code to avoid shadowing warning.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Nov 2011 10:28:48 +0000 (10:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 5 Nov 2011 10:28:48 +0000 (10:28 +0000)
commit86cf0018d36fbdbcecccf66d3843659ea4da0236
treeb8a399800385b9e7fb1635ee6dff784f99bff14d
parente2623304afca82cf06c681ff33ae2cd67e138ba3
Rename lineAnchor in Scintilla code to avoid shadowing warning.

Local variable "lineAnchor" in Editor::SetRectangularRange() was shadowing the
member variable Editor::lineAnchor, resulting in warnings from some compilers
(AIX xlC, Sun CC).

Rename it to "lineAnchorRect", just as it was done in the latest Scintilla
sources, to avoid them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/stc/scintilla/src/Editor.cxx