Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libobs: Fix various comment typos #11740

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libobs/util/platform-nix-dbus.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ enum service_type {
FREEDESKTOP_SS, /* freedesktop screensaver (KDE >= 4, GNOME >= 3.10) */
FREEDESKTOP_PM, /* freedesktop power management (KDE, gnome <= 2.26) */
MATE_SM, /* MATE (>= 1.0) session manager */
GNOME_SM, /* GNOME 2.26 - 3.4 sessopm mamager */
GNOME_SM, /* GNOME 2.26 - 3.4 session manager */
};

struct service_info {
Expand Down
4 changes: 2 additions & 2 deletions libobs/util/threading-windows.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static inline bool os_atomic_set_bool(volatile bool *ptr, bool val)
const char c = _InterlockedExchange8((volatile char *)ptr, (char)val);
bool b;

/* Avoid unnecesary char to bool conversion. Value known 0 or 1. */
/* Avoid unnecessary char to bool conversion. Value known 0 or 1. */
memcpy(&b, &c, sizeof(b));

return b;
Expand All @@ -135,7 +135,7 @@ static inline bool os_atomic_load_bool(const volatile bool *ptr)
_ReadWriteBarrier();
#endif

/* Avoid unnecesary char to bool conversion. Value known 0 or 1. */
/* Avoid unnecessary char to bool conversion. Value known 0 or 1. */
memcpy(&b, &c, sizeof(b));

return b;
Expand Down
Loading