OSX: fix incorrect path to launch pl_editor.

fix also a bug in python script round_value_robin.py.
This commit is contained in:
marco. 2014-05-09 08:32:05 +02:00 committed by jean-pierre charras
parent 223e372628
commit 0166c95efd
3 changed files with 2 additions and 3 deletions

View File

@ -36,7 +36,6 @@
#include <sch_base_frame.h>
#include <class_sch_screen.h>
class wxSashLayoutWindow;
class wxListBox;
class CMP_LIBRARY;

View File

@ -102,7 +102,7 @@ enum pseudokeys {
#define GERBVIEW_EXE wxT( "gerbview.app/Contents/MacOS/gerbview" )
#define BITMAPCONVERTER_EXE wxT( "bitmap2component.app/Contents/MacOS/bitmap2component" )
#define PCB_CALCULATOR_EXE wxT( "pcb_calculator.app/Contents/MacOS/pcb_calculator" )
#define PL_EDITOR_EXE wxT( "pcb_calculator.app/Contents/MacOS/pl_editor" )
#define PL_EDITOR_EXE wxT( "pl_editor.app/Contents/MacOS/pl_editor" )
# endif
#endif

View File

@ -30,7 +30,7 @@ def checkvalue(self):
if v.isdigit():
i = int(v)
if (i > 1000000):
i = i / 100000
i = i / 1000000
v = str(i) + "M"
if (i > 1000):
i = i / 1000