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

Comparing ray/src/rt/x11.c (file contents):
Revision 2.27 by gregl, Tue Nov 11 20:03:02 1997 UTC vs.
Revision 2.28 by gregl, Tue Dec 2 15:57:45 1997 UTC

# Line 354 | Line 354 | static
354   x11_comout(outp)                /* output a string to command line */
355   char  *outp;
356   {
357 <        if (comline == NULL)
357 >        if (comline == NULL || outp == NULL || !outp[0])
358                  return;
359          xt_puts(outp, comline);
360          if (outp[strlen(outp)-1] == '\n')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines