--- ray/src/meta/psmeta.c 2003/07/01 21:21:40 1.2 +++ ray/src/meta/psmeta.c 2003/07/21 22:30:18 1.3 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: psmeta.c,v 1.2 2003/07/01 21:21:40 greg Exp $"; +static const char RCSid[] = "$Id: psmeta.c,v 1.3 2003/07/21 22:30:18 schorsch Exp $"; #endif /* * Program to convert meta-files to PostScript. @@ -89,7 +89,7 @@ PRIMITIVE *g; case PINCL: if (g->args == NULL) error(USER, "missing include file name in include"); - if (g->arg0 == 2 || (fp = fopen(g->args, "r")) == NULL) + if (g->arg0 == 2 || (fp = fopen(g->args, "r")) == NULL) { if (g->arg0 != 0) fp = mfopen(g->args, "r"); else { @@ -97,6 +97,7 @@ PRIMITIVE *g; g->args); error(USER, errmsg); } + } plot(fp); fclose(fp); break;