eeschema: Rename shadowing var
This commit is contained in:
parent
eae0c142fe
commit
21c752fa0b
|
@ -294,11 +294,11 @@ void DIALOG_SCH_EDIT_ONE_FIELD::onScintillaCharAdded( wxStyledTextEvent &aEvent
|
|||
wxString partial;
|
||||
|
||||
auto textVarRef =
|
||||
[&]( int pos )
|
||||
[&]( int pt )
|
||||
{
|
||||
return pos >= 2
|
||||
&& m_StyledTextCtrl->GetCharAt( pos-2 ) == '$'
|
||||
&& m_StyledTextCtrl->GetCharAt( pos-1 ) == '{';
|
||||
return pt >= 2
|
||||
&& m_StyledTextCtrl->GetCharAt( pt - 2 ) == '$'
|
||||
&& m_StyledTextCtrl->GetCharAt( pt - 1 ) == '{';
|
||||
};
|
||||
|
||||
// Check for cross-reference
|
||||
|
|
Loading…
Reference in New Issue