pkgsrc/cad/ntesla/patches/patch-ae

23 lines
492 B
Text
Raw Normal View History

$NetBSD: patch-ae,v 1.1 2003/12/17 16:58:25 sketch Exp $
--- solonoid.c.orig Thu Oct 23 08:14:39 2003
+++ solonoid.c Thu Oct 23 08:14:55 2003
@@ -150,7 +150,7 @@
E "\007Secondary diameter must be less than primary inner diameter ");
}
} else {
- restrict();
+ badratio();
}
break;
@@ -162,7 +162,7 @@
(tmpval / Tcparms.secondary_diam >= 0.1)) {
Tcparms.secondary_leng = tmpval;
} else {
- restrict();
+ badratio();
}
break;