Merge pull request #8082 from ivandrofly/mpc-hc

Refactor OnCopyData event invocation in MessageHandlerWindow
This commit is contained in:
Nikolaj Olsson 2024-03-28 08:51:28 +01:00 committed by GitHub
commit 29721c1c7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers.MpcHC
{
if (m.Msg == NativeMethods.WindowsMessageCopyData && OnCopyData != null)
{
OnCopyData.Invoke(m, new EventArgs());
OnCopyData.Invoke(m, EventArgs.Empty);
}
base.WndProc(ref m);
}