Skip to content

Commit

Permalink
Improve footer summary formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mebeim committed May 27, 2024
1 parent 1da2b74 commit 685c71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ async function update(pushHistoryState) {
const n_no_sig = currentSyscallTable.syscalls.reduce((acc, sc) => acc + (sc.signature === null), 0)

sumamryEl.textContent = `${n_syscalls} syscalls`
if (n_esoteric) sumamryEl.textContent += ` (${n_esoteric} esoteric)`
if (n_esoteric) sumamryEl.textContent += `, ${n_esoteric} esoteric`
if (n_bad_loc) sumamryEl.textContent += `, ${n_bad_loc} non-standard definition` + 's'.substring(0, n_bad_loc ^ 1)
if (n_no_loc) sumamryEl.textContent += `, ${n_no_loc} missing location info`
if (n_no_sig) sumamryEl.textContent += `, ${n_no_sig} missing signature info`
Expand Down

0 comments on commit 685c71c

Please sign in to comment.