if ALt-x (compare schematics) is given before setting a compare filename, schematic is compared with saved version of itself
This commit is contained in:
parent
3c980ce956
commit
53efa4c381
|
|
@ -679,8 +679,8 @@ int compare_schematics(const char *f)
|
||||||
my_strncpy(xctx->sch_to_compare, f, S(xctx->sch_to_compare));
|
my_strncpy(xctx->sch_to_compare, f, S(xctx->sch_to_compare));
|
||||||
}
|
}
|
||||||
if(!xctx->sch_to_compare[0]) {
|
if(!xctx->sch_to_compare[0]) {
|
||||||
dbg(0, "compare_schematics() schematic to compare with not set\n");
|
my_strncpy(xctx->sch_to_compare, abs_sym_path(xctx->current_name, ""), S(xctx->sch_to_compare));
|
||||||
return -1;
|
dbg(0, "Compare current schematic with saved version of itself!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* HASH SCHEMATIC 1 */
|
/* HASH SCHEMATIC 1 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue