From 672afcb691bb276f3be1d13fa480c493f5e6fd2a Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sat, 18 Jan 2025 12:40:48 +0000 Subject: [PATCH] libobs: Fix various comment typos --- libobs/util/platform-nix-dbus.c | 2 +- libobs/util/threading-windows.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libobs/util/platform-nix-dbus.c b/libobs/util/platform-nix-dbus.c index 36fdcf9b566415..39f01678be2ffd 100644 --- a/libobs/util/platform-nix-dbus.c +++ b/libobs/util/platform-nix-dbus.c @@ -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 { diff --git a/libobs/util/threading-windows.h b/libobs/util/threading-windows.h index 38c4d1db2c47e2..6e9bb3020f96f2 100644 --- a/libobs/util/threading-windows.h +++ b/libobs/util/threading-windows.h @@ -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; @@ -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;