Browse Source

OSX: fix incorrect path to launch pl_editor.

fix also a bug in python script round_value_robin.py.
pull/1/head
marco. 12 years ago
committed by jean-pierre charras
parent
commit
0166c95efd
  1. 1
      eeschema/viewlib_frame.h
  2. 2
      include/common.h
  3. 2
      scripts/bom-in-python/round_value_robin.py

1
eeschema/viewlib_frame.h

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

2
include/common.h

@ -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

2
scripts/bom-in-python/round_value_robin.py

@ -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

Loading…
Cancel
Save