Skip to content

Commit 504505b

Browse files
committed
Spelling fixes from upstream
1 parent 5c905f6 commit 504505b

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

gcovr-templates/html/gcovr.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@
429429
});
430430
}
431431

432+
// cspell:ignore capy
432433
// Collapse single-child directory chains: if a directory has exactly
433434
// one child and that child is also a directory, absorb the grandchildren.
434435
// e.g. include > boost > capy > [items] becomes include > [items]
@@ -1536,9 +1537,9 @@
15361537
function initNavOverride() {
15371538
if (!window.GCOVR_TREE_DATA) return;
15381539

1539-
var navPrevs = document.querySelectorAll('.nav-prev');
1540-
var navNexts = document.querySelectorAll('.nav-next');
1541-
if (navPrevs.length === 0 && navNexts.length === 0) return;
1540+
var navPrev = document.querySelectorAll('.nav-prev');
1541+
var navNext = document.querySelectorAll('.nav-next');
1542+
if (navPrev.length === 0 && navNext.length === 0) return;
15421543

15431544
// DFS-flatten tree to collect file links in sidebar order
15441545
function collectLinks(nodes) {
@@ -1595,8 +1596,8 @@
15951596
}
15961597
}
15971598

1598-
updateNavLinks(navPrevs, prev);
1599-
updateNavLinks(navNexts, next);
1599+
updateNavLinks(navPrev, prev);
1600+
updateNavLinks(navNext, next);
16001601
}
16011602

16021603
// ===========================================

gcovr-templates/html/source_page.content.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
<th class="col-count">Hits</th>
9494
<th class="col-source">Source Code</th>
9595
{% if USE_BLOCK_IDS %}
96-
<th class="col-blockids">Block IDs</th>
96+
<th class="col-lineblockids">Block IDs</th>
9797
{% endif %}
9898
</tr>
9999
</thead>
@@ -223,7 +223,7 @@
223223
</td>
224224
<td class="col-source">{{row.source}}</td>
225225
{% if USE_BLOCK_IDS %}
226-
<td class="col-blockids">{% if row.block_ids %}{{row.block_ids | join(', ')}}{% endif %}</td>
226+
<td class="col-lineblockids">{% if row.block_ids %}{{row.block_ids | join(', ')}}{% endif %}</td>
227227
{% endif %}
228228
</tr>
229229
{% endfor %}

gcovr-templates/html/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,7 @@ tr.source-line.nav-highlight > td {
16971697
}
16981698

16991699
.source-table .col-count,
1700-
.source-table .col-blockids {
1700+
.source-table .col-lineblockids {
17011701
text-align: right;
17021702
white-space: nowrap;
17031703
width: 1%;
@@ -1706,7 +1706,7 @@ tr.source-line.nav-highlight > td {
17061706
}
17071707

17081708
.source-table td.col-count,
1709-
.source-table td.col-blockids {
1709+
.source-table td.col-lineblockids {
17101710
color: var(--text-muted);
17111711
}
17121712

0 commit comments

Comments
 (0)