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

Comparing ray/src/rt/x11twind.c (file contents):
Revision 2.6 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.7 by greg, Fri Apr 11 16:01:26 2003 UTC

# Line 89 | Line 89 | char  *fontname;
89  
90  
91   void
92 xt_puts(s, t)                           /* output a string */
93 register char  *s;
94 TEXTWIND  *t;
95 {
96        int     oldcurs;
97
98        oldcurs = xt_cursor(t, TNOCURS);        /* for efficiency */
99        while (*s)
100                xt_putc(*s++, t);
101        xt_cursor(t, oldcurs);
102 }
103
104
105 void
92   xt_putc(c, t)                           /* output a character */
93 < char  c;
93 > int  c;
94   register TEXTWIND  *t;
95   {
96          checkcurs(t);
# Line 133 | Line 119 | register TEXTWIND  *t;
119                  break;
120          }
121          restorecurs(t);
122 + }
123 +
124 +
125 + void
126 + xt_puts(s, t)                           /* output a string */
127 + register char  *s;
128 + TEXTWIND  *t;
129 + {
130 +        int     oldcurs;
131 +
132 +        oldcurs = xt_cursor(t, TNOCURS);        /* for efficiency */
133 +        while (*s)
134 +                xt_putc(*s++, t);
135 +        xt_cursor(t, oldcurs);
136   }
137  
138  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines