Improve clang-format
FossilOrigin-Name: 6f5dd506262655e5d3a6732794f955c8476b19a80fa03d5ebb6744ed8b18c963
This commit is contained in:
parent
f904d80214
commit
dd08a1069e
41 changed files with 506 additions and 493 deletions
|
@ -78,13 +78,14 @@ renderconsole() // render buffer taking into account time & scrolling
|
|||
{
|
||||
int nd = 0;
|
||||
char *refs[ndraw];
|
||||
loopv(conlines) if (conskip ? i >= conskip - 1 ||
|
||||
i >= conlines.length() - ndraw
|
||||
: lastmillis - conlines[i].outtime < 20000)
|
||||
loopv(conlines)
|
||||
{
|
||||
refs[nd++] = conlines[i].cref;
|
||||
if (nd == ndraw)
|
||||
break;
|
||||
if (conskip ? i >= conskip - 1 || i >= conlines.length() - ndraw
|
||||
: lastmillis - conlines[i].outtime < 20000) {
|
||||
refs[nd++] = conlines[i].cref;
|
||||
if (nd == ndraw)
|
||||
break;
|
||||
}
|
||||
}
|
||||
@autoreleasepool {
|
||||
loopj(nd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue