BOARD_NETLIST_UPDATER: fix incorrect warning message:

pad number and footprint reference were swapped.
Fixes #16500
https://gitlab.com/kicad/code/kicad/-/issues/16500
This commit is contained in:
jean-pierre charras 2024-01-02 15:14:53 +01:00
parent 9db1dd5ec5
commit 5d3c35c5d3
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
* Copyright (C) 2012 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com>
* Copyright (C) 2011 Wayne Stambaugh <stambaughw@gmail.com>
*
* Copyright (C) 1992-2023 KiCad Developers, see AUTHORS.txt for contributors.
* Copyright (C) 1992-2024 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -708,8 +708,8 @@ bool BOARD_NETLIST_UPDATER::updateComponentPadConnections( FOOTPRINT* aFootprint
{
// pad is connectable but has no net found in netlist
msg.Printf( _( "No net found for component %s pad %s (no pin %s in symbol)." ),
pad->GetNumber(),
aFootprint->GetReference(),
pad->GetNumber(),
pad->GetNumber() );
m_reporter->Report( msg, RPT_SEVERITY_WARNING);
++m_warningCount;