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

Comparing ray/src/cv/bsdf2ttree.c (file contents):
Revision 2.26 by greg, Wed Mar 12 21:15:31 2014 UTC vs.
Revision 2.27 by greg, Wed Mar 12 22:24:59 2014 UTC

# Line 56 | Line 56 | prog_show(double frac)
56   }
57  
58   /* Finish progress bar */
59 < #define prog_done()     if (do_prog) fputc('\n',stderr); else
59 > static void
60 > prog_done(void)
61 > {
62 >        int     n = do_prog;
63 >
64 >        if (n <= 1) return;
65 >        fputc('\r', stderr);
66 >        while (n--)
67 >                fputc(' ', stderr);
68 >        fputc('\r', stderr);
69 > }
70  
71   /* Output XML prologue to stdout */
72   static void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines