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.6 by schorsch, Wed Jun 7 17:52:03 2006 UTC vs.
Revision 2.7 by greg, Thu Mar 3 03:55:13 2022 UTC

# Line 63 | 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