From 79af0c454d76090afedfa60770fb4b58ddbef846 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 14 Apr 2015 17:57:07 +0200 Subject: [PATCH] 2 very minor fixes. --- 3d-viewer/3d_draw.cpp | 2 +- pcbnew/scripting/board.i | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3d-viewer/3d_draw.cpp b/3d-viewer/3d_draw.cpp index 1a0a0f1f0a..e5d322f4b8 100644 --- a/3d-viewer/3d_draw.cpp +++ b/3d-viewer/3d_draw.cpp @@ -608,7 +608,7 @@ void EDA_3D_CANVAS::Redraw() // Calculation time in seconds double calculation_time = (double)( GetRunningMicroSecs() - strtime) / 1e6; - activityReporter.Report( wxString::Format( _( "Build time %3f s" ), + activityReporter.Report( wxString::Format( _( "Build time %.3f s" ), calculation_time ) ); } else diff --git a/pcbnew/scripting/board.i b/pcbnew/scripting/board.i index fd506c0c6b..da0e10aa01 100644 --- a/pcbnew/scripting/board.i +++ b/pcbnew/scripting/board.i @@ -70,7 +70,7 @@ // std::vector templates %template(VIA_DIMENSION_Vector) std::vector; -%template (RATSNET_Vector) std::vector; +%template (RATSNEST_Vector) std::vector; %extend BOARD {