eeschema: fixed:

* crash when creating a sheet that does not yet have a sch file
* when loading schematic file v 1 annotations are applied to all sheets independent of path in hierarchy
* component reference is drawn by default upon placing a new libary comp.
This commit is contained in:
lifekidyeaa
2008-02-15 23:21:33 +00:00
parent 87f4916afb
commit c7ec524fc7
6 changed files with 30 additions and 13 deletions
+1
View File
@@ -62,6 +62,7 @@ static inline int USCALE( us arg, us num, us den )
static int inline ZoomValue( int value_to_zoom ) {
int zoom = GET_ZOOM;
if( !zoom ) return 0;
if( value_to_zoom >= 0 )
return ( value_to_zoom + (zoom >> 1 ) ) / zoom;