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

Comparing ray/src/util/cmatrix.c (file contents):
Revision 2.6 by greg, Tue Jun 17 18:03:48 2014 UTC vs.
Revision 2.7 by greg, Tue Jul 8 16:39:41 2014 UTC

# Line 117 | Line 117 | cm_getheader(int *dt, int *nr, int *nc, FILE *fp)
117          cmi.dtype = DTfromHeader;
118          cmi.nrows = cmi.ncols = 0;
119          cmi.err = "unexpected EOF in header";
120 <        if (getheader(fp, &get_cminfo, &cmi) < 0)
120 >        if (getheader(fp, get_cminfo, &cmi) < 0)
121                  return(cmi.err);
122          if (dt != NULL) {                       /* get/check data type? */
123                  if (cmi.dtype == DTfromHeader) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines