From 9cca190bc3022311915eb1e95b3cc3bb89aed328 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 25 Jan 2020 14:24:53 +0300 Subject: massive code cleaning: - GCHOOK structure normalized (i.e. inlined SESSION_INFO fields replaced with a reference to SESSION_INFO); - fake CMsgDialog declaration added to m_srmm_int.h, thus duplicated declarations in plugins aren't needed anymore - other minor changes --- protocols/Omegle/src/chat.cpp | 2 +- protocols/Omegle/src/stdafx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Omegle/src') diff --git a/protocols/Omegle/src/chat.cpp b/protocols/Omegle/src/chat.cpp index c1f41f9df3..7f13e74967 100644 --- a/protocols/Omegle/src/chat.cpp +++ b/protocols/Omegle/src/chat.cpp @@ -72,7 +72,7 @@ int OmegleProto::OnChatEvent(WPARAM, LPARAM lParam) { GCHOOK *hook = reinterpret_cast(lParam); - if (mir_strcmp(hook->pszModule, m_szModuleName)) + if (mir_strcmp(hook->si->pszModule, m_szModuleName)) return 0; switch (hook->iType) { diff --git a/protocols/Omegle/src/stdafx.h b/protocols/Omegle/src/stdafx.h index b722e2696a..999e1e20d0 100644 --- a/protocols/Omegle/src/stdafx.h +++ b/protocols/Omegle/src/stdafx.h @@ -41,7 +41,7 @@ along with this program. If not, see . #include #include -#include +#include #include #include #include -- cgit v1.2.3