Fix merge error.

(cherry picked from commit d8cbafe858eb1e3dbb6bb597f0eae0eeb7b1ce92)
This commit is contained in:
Jeff Young 2025-07-20 17:04:25 +01:00
parent 17af4aa5ce
commit 7c97ed6f16

View File

@ -312,7 +312,7 @@ void NETLIST_EXPORTER_SPICE::ReadDirectives( unsigned aNetlistOptions )
if( item->Type() == SCH_TEXT_T )
text = static_cast<SCH_TEXT*>( item )->GetShownText( &sheet, false );
else if( item->Type() == SCH_TEXTBOX_T )
text = static_cast<SCH_TEXTBOX*>( item )->GetShownText( &sheet, false );
text = static_cast<SCH_TEXTBOX*>( item )->GetShownText( nullptr, &sheet, false );
else
continue;