Commit 0166c95e authored by marco.'s avatar marco. Committed by jean-pierre charras

OSX: fix incorrect path to launch pl_editor.

fix also a bug in python script round_value_robin.py.
parent 223e3726
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#include <sch_base_frame.h> #include <sch_base_frame.h>
#include <class_sch_screen.h> #include <class_sch_screen.h>
class wxSashLayoutWindow;
class wxListBox; class wxListBox;
class CMP_LIBRARY; class CMP_LIBRARY;
......
...@@ -102,7 +102,7 @@ enum pseudokeys { ...@@ -102,7 +102,7 @@ enum pseudokeys {
#define GERBVIEW_EXE wxT( "gerbview.app/Contents/MacOS/gerbview" ) #define GERBVIEW_EXE wxT( "gerbview.app/Contents/MacOS/gerbview" )
#define BITMAPCONVERTER_EXE wxT( "bitmap2component.app/Contents/MacOS/bitmap2component" ) #define BITMAPCONVERTER_EXE wxT( "bitmap2component.app/Contents/MacOS/bitmap2component" )
#define PCB_CALCULATOR_EXE wxT( "pcb_calculator.app/Contents/MacOS/pcb_calculator" ) #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
#endif #endif
......
...@@ -30,7 +30,7 @@ def checkvalue(self): ...@@ -30,7 +30,7 @@ def checkvalue(self):
if v.isdigit(): if v.isdigit():
i = int(v) i = int(v)
if (i > 1000000): if (i > 1000000):
i = i / 100000 i = i / 1000000
v = str(i) + "M" v = str(i) + "M"
if (i > 1000): if (i > 1000):
i = i / 1000 i = i / 1000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment