Skip to content

Commit

Permalink
Fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
umlaeute committed Feb 5, 2025
1 parent b76c90d commit 5211591
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/eventhandler/EventHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ void EventHandler::SourceCreatedMultiHandler(void *param, calldata_t *data)
}
}

// Only called for destruction of a public sourcs
// Only called for destruction of a public source
// Used as a fallback if an input/scene is not explicitly removed
void EventHandler::SourceDestroyedMultiHandler(void *param, calldata_t *data)
{
Expand Down
2 changes: 1 addition & 1 deletion src/eventhandler/EventHandler_Scenes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void EventHandler::HandleCurrentPreviewSceneChanged()
{
OBSSourceAutoRelease currentPreviewScene = obs_frontend_get_current_preview_scene();

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

Expand Down
2 changes: 1 addition & 1 deletion src/eventhandler/types/EventSubscription.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>
namespace EventSubscription {
enum EventSubscription {
/**
* Subcription value used to disable all events.
* Subscription value used to disable all events.
*
* @enumIdentifier None
* @enumValue 0
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ with this program. If not, see <https://www.gnu.org/licenses/>

namespace Utils {
namespace Compat {
// Reimplement QRunnable for std::function. Retrocompatability for Qt < 5.15
// Reimplement QRunnable for std::function. Retrocompatibility for Qt < 5.15
class StdFunctionRunnable : public QRunnable {
std::function<void()> cb;

Expand Down

0 comments on commit 5211591

Please sign in to comment.