Skip to content

Commit b576334

Browse files
committed
Fixed merge-conflicts
1 parent c671ec6 commit b576334

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

RetailCoder.VBE/Common/RubberduckHooks.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,11 @@ private IntPtr WindowProc(IntPtr hWnd, uint uMsg, IntPtr wParam, IntPtr lParam)
170170
private bool HandleHotkeyMessage(IntPtr wParam)
171171
{
172172
var processed = false;
173-
if (GetWindowThread(User32.GetForegroundWindow()) == GetWindowThread(_mainWindowHandle))
174-
{
175-
var hook = Hooks.OfType<Hotkey>().SingleOrDefault(k => k.HotkeyInfo.HookId == (IntPtr) wParam);
176-
if (hook != null)
177-
{
173+
if (GetWindowThread(User32.GetForegroundWindow()) == GetWindowThread(_mainWindowHandle))
174+
{
175+
var hook = Hooks.OfType<Hotkey>().SingleOrDefault(k => k.HotkeyInfo.HookId == wParam);
176+
if (hook != null)
177+
{
178178
hook.OnMessageReceived();
179179
processed = true;
180180
}
@@ -214,4 +214,4 @@ private IntPtr GetWindowThread(IntPtr hWnd)
214214
return (IntPtr)hThread;
215215
}
216216
}
217-
}
217+
}

0 commit comments

Comments
 (0)