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

Comparing ray/src/ot/oconv.c (file contents):
Revision 1.8 by greg, Mon Apr 2 15:19:46 1990 UTC vs.
Revision 1.9 by greg, Tue Jun 26 09:02:03 1990 UTC

# Line 179 | Line 179 | char  *s;
179   eputs(s)                                /* put string to stderr */
180   register char  *s;
181   {
182 <        static int  inline = 0;
182 >        static int  inln = 0;
183  
184 <        if (!inline++) {
184 >        if (!inln++) {
185                  fputs(progname, stderr);
186                  fputs(": ", stderr);
187          }
188          fputs(s, stderr);
189          if (*s && s[strlen(s)-1] == '\n')
190 <                inline = 0;
190 >                inln = 0;
191   }
192  
193  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines