Browse Source

[PATCH #76] Fixed access violation when iplot called without a circuit

loaded.
pre-master-46
Jim Monte 7 years ago
committed by Holger Vogt
parent
commit
3def275be4
  1. 7
      src/frontend/breakp.c

7
src/frontend/breakp.c

@ -176,6 +176,13 @@ com_trce(wordlist *wl)
void
com_iplot(wordlist *wl)
{
/* Check for an active circuit */
if (ft_curckt == (struct circ *) NULL) {
fprintf(cp_err, "No circuit loaded. "
"Incremental plotting is not possible.\n");
return;
}
/* settrace(wl, VF_PLOT); */
struct dbcomm *d, *td, *currentdb = NULL;

Loading…
Cancel
Save