Pcbnew: Fix bug #1296649 (Text on flipped modules incorrectly placed).
Dialog Freeroute: if freeroute.jar is find in kicad binaries, it is run as a standard java application, not as web applcation Very minor other fixes FPC_(SMD_type)_footprintwizard.py wizard finished.
This commit is contained in:
@@ -102,10 +102,14 @@ wxString* newWxStringFromPy( PyObject* src )
|
||||
}
|
||||
|
||||
if( must_unref_str )
|
||||
{
|
||||
Py_DECREF( uni_str );
|
||||
}
|
||||
|
||||
if( must_unref_obj )
|
||||
{
|
||||
Py_DECREF( obj );
|
||||
}
|
||||
|
||||
#else
|
||||
// normal string (or object) to normal python string
|
||||
@@ -136,7 +140,9 @@ wxString* newWxStringFromPy( PyObject* src )
|
||||
result = new wxString( str_ptr, str_size );
|
||||
|
||||
if( must_unref_str )
|
||||
{
|
||||
Py_DECREF( str );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user