ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/psmeta.c
(Generate patch)

Comparing ray/src/meta/psmeta.c (file contents):
Revision 1.2 by greg, Tue Jul 1 21:21:40 2003 UTC vs.
Revision 1.3 by schorsch, Mon Jul 21 22:30:18 2003 UTC

# Line 89 | Line 89 | PRIMITIVE  *g;
89          case PINCL:
90                  if (g->args == NULL)
91                      error(USER, "missing include file name in include");
92 <                if (g->arg0 == 2 || (fp = fopen(g->args, "r")) == NULL)
92 >                if (g->arg0 == 2 || (fp = fopen(g->args, "r")) == NULL) {
93                      if (g->arg0 != 0)
94                          fp = mfopen(g->args, "r");
95                      else {
# Line 97 | Line 97 | PRIMITIVE  *g;
97                                          g->args);
98                          error(USER, errmsg);
99                      }
100 +                }
101                  plot(fp);
102                  fclose(fp);
103                  break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines