Correct typos in comments

This commit is contained in:
Casey Korver
2023-07-03 15:13:13 -05:00
committed by Cameron Gutman
parent 70dc582f38
commit b1ffa8a6c5
13 changed files with 29 additions and 29 deletions

View File

@@ -550,7 +550,7 @@ namespace platf {
});
if (pos == std::end(card_descriptors)) {
// This code path shouldn't happend, but it's there just in case.
// This code path shouldn't happen, but it's there just in case.
// card_descriptors is part of the guesswork after all.
BOOST_LOG(error) << "Couldn't find ["sv << entry.path() << "]: This shouldn't have happened :/"sv;
return -1;
@@ -592,7 +592,7 @@ namespace platf {
offset_y = viewport.offset_y;
}
// This code path shouldn't happend, but it's there just in case.
// This code path shouldn't happen, but it's there just in case.
// crtc_to_monitor is part of the guesswork after all.
else {
BOOST_LOG(warning) << "Couldn't find crtc_id, this shouldn't have happened :\\"sv;
@@ -1023,7 +1023,7 @@ namespace platf {
// Try to convert names in the format:
// {type}-{index}
// {index} is n'th occurence of {type}
// {index} is n'th occurrence of {type}
auto index_begin = name.find_last_of('-');
std::uint32_t index;