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

Comparing ray/src/util/rmatrix.c (file contents):
Revision 2.46 by greg, Tue Jan 19 23:32:00 2021 UTC vs.
Revision 2.47 by greg, Fri Jan 22 16:19:15 2021 UTC

# Line 209 | Line 209 | rmx_load(const char *inspec, RMPref rmp)
209          RMATRIX         dinfo;
210          RMATRIX         *dnew;
211  
212 <        if (!inspec || !*inspec)
212 >        if (!inspec)
213 >                inspec = stdin_name;
214 >        else if (!*inspec)
215                  return(NULL);
216          if (inspec == stdin_name) {             /* reading from stdin? */
217                  fp = stdin;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines