In the last commit there was a strange string concatenation which
would not build on my machine:
_("Unit") + wxT( " " ) + unitName
This patch breaks the operation into 2 steps, first defining the
wxString "Unit " and concatenating the name.
- Cirilo
=== modified file 'eeschema/component_tree_search_container.cpp'
--- eeschema/component_tree_search_container.cpp 2014-02-22 12:39:59 +0000
+++ eeschema/component_tree_search_container.cpp 2014-02-22 21:45:13 +0000
@@ -189,10 +189,11 @@
for( int u = 1; u <= a->GetComponent()->GetPartCount(); ++u )
{
- unitName = LIB_COMPONENT::ReturnSubReference( u, false );
+ unitName = wxT( "Unit " );
+ unitName += LIB_COMPONENT::ReturnSubReference( u, false );
TREE_NODE* unit_node = new TREE_NODE( TREE_NODE::TYPE_UNIT,
alias_node, a,
- _("Unit") + wxT( " " ) + unitName,
+ unitName,
wxEmptyString, wxEmptyString );
unit_node->Unit = u;
nodes.push_back( unit_node );
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp