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

Comparing ray/src/common/calfunc.c (file contents):
Revision 2.34 by greg, Fri Aug 15 20:14:57 2025 UTC vs.
Revision 2.35 by greg, Wed Nov 19 18:34:37 2025 UTC

# Line 349 | Line 349 | report_depth(char *nm)                 /* report current function ca
349   {
350          char    msg[RMAXWORD+48];
351  
352 <        sprintf(msg, "%s(): depth level at %lu\n", nm, next_dreport);
352 >        sprintf(msg, "%s(): depth level at %lu\n", nm, curdepth);
353          wputs(msg);
354 <        next_dreport *= 10;
354 >        if (curdepth >= next_dreport)
355 >                next_dreport *= 10;
356   }
357  
358  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)