summaryrefslogtreecommitdiff
path: root/gui/comp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/comp.c')
-rw-r--r--gui/comp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/comp.c b/gui/comp.c
index 3a9cb25..2075ca5 100644
--- a/gui/comp.c
+++ b/gui/comp.c
@@ -246,7 +246,8 @@ void add_comp_aoi(struct gui_sheet *sheet, const struct sch_obj *obj)
ctx->ref = f->txt.s;
break;
case 3:
- ctx->doc = f->txt.s;
+ if (strcmp(f->txt.s, "~"))
+ ctx->doc = f->txt.s;
break;
default:
break;