Skip to content

Commit f962a69

Browse files
committed
Use plural where needed for bottom-page summary
1 parent bc0fddf commit f962a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ async function update(pushHistoryState) {
493493

494494
sumamryEl.textContent = `${n_syscalls} syscalls`
495495
if (n_esoteric) sumamryEl.textContent += ` (${n_esoteric} esoteric)`
496-
if (n_bad_loc) sumamryEl.textContent += `, ${n_bad_loc} non-standard definitions`
496+
if (n_bad_loc) sumamryEl.textContent += `, ${n_bad_loc} non-standard definition` + 's'.substring(0, n_bad_loc ^ 1)
497497
if (n_no_loc) sumamryEl.textContent += `, ${n_no_loc} missing location info`
498498
if (n_no_sig) sumamryEl.textContent += `, ${n_no_sig} missing signature info`
499499

0 commit comments

Comments
 (0)