Skip to content

Commit

Permalink
libobs: Fix various comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
luzpaz committed Jan 18, 2025
1 parent 0014f9f commit 672afcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 672afcb

Please sign in to comment.