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

Comparing ray/src/common/font.c (file contents):
Revision 2.6 by greg, Sat Nov 21 21:35:36 1992 UTC vs.
Revision 2.7 by greg, Fri May 14 11:30:17 1993 UTC

# Line 214 | Line 214 | int  nsi;                      /* minimum number of spaces for indent */
214                                          /* start by squeezing it */
215          squeeztext(sp, tp, f, cis);
216                                          /* now, realign spacing */
217 <        len = 0;
218 <        width = alen = *sp++;
217 >        width = *sp++;
218          while (*tp) {
219 +                len = alen = 0;
220                  nsp = sp;
221                  for (end = tp; *end; end = tab) {
222                          tab = end + 1;
# Line 240 | Line 240 | int  nsi;                      /* minimum number of spaces for indent */
240                          *sp++ += alen;
241                          len -= alen;
242                  }
243                len = 0;
244                alen = 0;
243                  tp = tab;
244          }
245          return(width);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines