mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
Correct typos in comments
This commit is contained in:
committed by
Cameron Gutman
parent
70dc582f38
commit
b1ffa8a6c5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user