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 1.10 by greg, Fri Mar 2 15:05:26 1990 UTC vs.
Revision 1.11 by greg, Thu Mar 8 09:47:23 1990 UTC

# Line 252 | Line 252 | static
252   x11_comout(out)                 /* output a string to command line */
253   char  *out;
254   {
255 <        if (comline != NULL)
256 <                xt_puts(out, comline);
255 >        if (comline == NULL)
256 >                return;
257 >        xt_puts(out, comline);
258 >        if (out[strlen(out)-1] == '\n')
259 >                XFlush(ourdisplay);
260   }
261  
262  
# Line 263 | Line 266 | char  *msg;
266   {
267          stderr_v(msg);          /* send to stderr also! */
268          x11_comout(msg);
266        x11_flush();
269   }
270  
271  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines