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

Comparing ray/src/common/resolu.c (file contents):
Revision 2.4 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.8 by greg, Wed Jun 21 15:43:16 2023 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include "copyright.h"
11  
12 #include <stdio.h>
12   #include <stdlib.h>
13 < #include <time.h>
13 > #include <stdio.h>
14  
15   #include "resolu.h"
16  
# Line 64 | Line 63 | char  *buf;
63   register RESOLU  *rp;
64   {
65          if (rp->rt&YMAJOR)
66 <                sprintf(buf, "%cY %d %cX %d\n",
66 >                sprintf(buf, "%cY %8d %cX %8d\n",
67                                  rp->rt&YDECR ? '-' : '+', rp->yr,
68                                  rp->rt&XDECR ? '-' : '+', rp->xr);
69          else
70 <                sprintf(buf, "%cX %d %cY %d\n",
70 >                sprintf(buf, "%cX %8d %cY %8d\n",
71                                  rp->rt&XDECR ? '-' : '+', rp->xr,
72                                  rp->rt&YDECR ? '-' : '+', rp->yr);
73          return(buf);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines