More logging reduction and a trace fix.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3692 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2021-12-21 18:09:15 +00:00
parent 8075bdfe99
commit 1dd3b3c9aa
3 changed files with 2 additions and 3 deletions

View File

@ -111,7 +111,7 @@ void tf_trace_begin(tf_trace_t* trace, const char* name)
trace->stack = stack;
}
tf_trace_stack_t* stack = trace->stack;
while (stack->count == 0 && stack->next && stack->count + 1 > _countof(trace->stack->names))
while (stack->count == 0 && stack->next && stack->next->count + 1 <= _countof(trace->stack->names))
{
stack = stack->next;
}