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

Comparing ray/src/px/pcompos.c (file contents):
Revision 2.23 by schorsch, Thu Jul 3 22:41:44 2003 UTC vs.
Revision 2.26 by schorsch, Mon Nov 10 12:28:56 2003 UTC

# Line 15 | Line 15 | static const char      RCSid[] = "$Id$";
15   #include "copyright.h"
16  
17   #include  "platform.h"
18 + #include  "rtprocess.h"
19   #include  "color.h"
20   #include  "resolu.h"
21  
# Line 381 | Line 382 | register COLR  c1, c2;
382  
383          j = 4;                          /* check exponents first! */
384          while (j--)
385 <                if (i = c1[j] - c2[j])
385 >                if ( (i = c1[j] - c2[j]) )
386                          return(i);
387          return(0);
388   }
# Line 392 | Line 393 | lblopen(s, xp, yp)             /* open pipe to label generator */
393   char  *s;
394   int  *xp, *yp;
395   {
396 <        char  com[128];
396 >        char  com[PATH_MAX];
397          FILE  *fp;
398  
399          sprintf(com, "psign -s -.15 -a 2 -x %d -y %d '%.90s'", *xp, *yp, s);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines