newcompat.ki has already been set in sharedspice.c
This commit is contained in:
parent
eb751c5767
commit
9ef52c10b9
|
|
@ -65,7 +65,9 @@ void set_compat_mode(void)
|
|||
newcompat.ps = FALSE;
|
||||
newcompat.xs = FALSE;
|
||||
newcompat.lt = FALSE;
|
||||
newcompat.ki = FALSE;
|
||||
#ifndef SHARED_MODULE
|
||||
newcompat.ki = FALSE; /* has already been set in sharedspice.c */
|
||||
#endif
|
||||
newcompat.a = FALSE;
|
||||
newcompat.spe = FALSE;
|
||||
newcompat.isset = FALSE;
|
||||
|
|
|
|||
|
|
@ -1061,6 +1061,8 @@ ngSpice_Init(SendChar* printfcn, SendStat* statusfcn, ControlledExit* ngspiceexi
|
|||
if (thisproc) {
|
||||
if( ciprefix("eeschema", thisproc))
|
||||
newcompat.ki = TRUE;
|
||||
else
|
||||
newcompat.ki = FALSE;
|
||||
tfree(thisproc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue