This commit is contained in:
Marek Roszko 2024-01-31 06:55:18 -05:00
parent d012a5cbe0
commit f795c1168d
1 changed files with 2 additions and 2 deletions

View File

@ -130,9 +130,9 @@ int CLI::PCB_EXPORT_IPC2581_COMMAND::doPerform( KIWAY& aKiway )
ipc2581Job->m_version = JOB_EXPORT_PCB_IPC2581::IPC2581_VERSION::C;
wxString units = From_UTF8( m_argParser.get<std::string>( ARG_UNITS ).c_str() );
if( version == "mm" )
if( units == "mm" )
ipc2581Job->m_units = JOB_EXPORT_PCB_IPC2581::IPC2581_UNITS::MILLIMETERS;
else if( version == "in" )
else if( units == "in" )
ipc2581Job->m_units = JOB_EXPORT_PCB_IPC2581::IPC2581_UNITS::INCHES;
ipc2581Job->m_colInternalId =