Skip to content

Commit 709d597

Browse files
committed
Fix typos in comments
1 parent 7d8ec04 commit 709d597

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/eventhandler/EventHandler.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ void EventHandler::SourceCreatedMultiHandler(void *param, calldata_t *data)
500500
}
501501
}
502502

503-
// Only called for destruction of a public sourcs
503+
// Only called for destruction of a public source
504504
// Used as a fallback if an input/scene is not explicitly removed
505505
void EventHandler::SourceDestroyedMultiHandler(void *param, calldata_t *data)
506506
{

src/eventhandler/EventHandler_Scenes.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void EventHandler::HandleCurrentPreviewSceneChanged()
133133
{
134134
OBSSourceAutoRelease currentPreviewScene = obs_frontend_get_current_preview_scene();
135135

136-
// This event may be called when OBS is not in studio mode, however retreiving the source while not in studio mode will return null.
136+
// This event may be called when OBS is not in studio mode, however retrieving the source while not in studio mode will return null.
137137
if (!currentPreviewScene)
138138
return;
139139

src/eventhandler/types/EventSubscription.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
2222
namespace EventSubscription {
2323
enum EventSubscription {
2424
/**
25-
* Subcription value used to disable all events.
25+
* Subscription value used to disable all events.
2626
*
2727
* @enumIdentifier None
2828
* @enumValue 0

src/utils/Compat.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
2424

2525
namespace Utils {
2626
namespace Compat {
27-
// Reimplement QRunnable for std::function. Retrocompatability for Qt < 5.15
27+
// Reimplement QRunnable for std::function. Retrocompatibility for Qt < 5.15
2828
class StdFunctionRunnable : public QRunnable {
2929
std::function<void()> cb;
3030

0 commit comments

Comments
 (0)