Fix typo.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16991

(cherry picked from commit a5fda819eb)
This commit is contained in:
Jeff Young 2024-02-27 17:15:59 +00:00
parent aba24ec781
commit 1fc79b9a46
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ int DIALOG_CHANGE_SYMBOLS::processSymbols( SCH_COMMIT* aCommit,
for( const SCH_SHEET_PATH& instance : symbol_change_info.m_Instances ) for( const SCH_SHEET_PATH& instance : symbol_change_info.m_Instances )
{ {
wxString ref = symbol->GetRef( &instance, true ); wxString ref = symbol->GetRef( &instance );
int number = UTIL::GetRefDesNumber( ref ); int number = UTIL::GetRefDesNumber( ref );
if( number >= 0 ) if( number >= 0 )