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

Comparing ray/src/util/ranimate.c (file contents):
Revision 2.39 by schorsch, Mon Jun 30 14:59:13 2003 UTC vs.
Revision 2.40 by schorsch, Mon Jul 21 22:30:19 2003 UTC

# Line 1035 | Line 1035 | int    n;
1035                          fclose(viewfp);
1036                          viewfp = NULL;
1037                          viewnum = 0;
1038 <                        copystruct(&curview, &stdview);
1038 >                        curview = stdview;
1039                  }
1040                  return(NULL);
1041          }
# Line 1051 | Line 1051 | int    n;
1051                          perror(vval(VIEWFILE));
1052                          quit(1);
1053                  }
1054 <                copystruct(&curview, &stdview);
1054 >                curview = stdview;
1055                  viewnum = 0;
1056          }
1057          if (n < 0) {                            /* get next view */
# Line 1395 | Line 1395 | register char  *path;
1395          for (i = 0, psep = -1; path[i]; i++)
1396                  if (path[i] == '/')
1397                          psep = i;
1398 <        if (df != NULL)
1398 >        if (df != NULL) {
1399                  if (psep == 0) {
1400                          df[0] = '/';
1401                          df[1] = '\0';
# Line 1404 | Line 1404 | register char  *path;
1404                          df[psep] = '\0';
1405                  } else
1406                          df[0] = '\0';
1407 +        }
1408          return(path+psep+1);
1409   }
1410  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines