Skip to content

Commit

Permalink
Format code slightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetopia committed Mar 18, 2024
1 parent 049c7de commit 9485a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DllMain.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ VOID CALLBACK WinEventProc(HWINEVENTHOOK hWinEventHook, DWORD event, HWND hwnd,
DWORD dwRunningAppID = 0;
RegGetValueW(hKey, NULL, L"RunningAppID", RRF_RT_REG_DWORD, NULL, (PVOID)&dwRunningAppID,
&((DWORD){sizeof(DWORD)}));

(dwRunningAppID ? SuspendThread : ResumeThread)(hThread);
if (dwRunningAppID)
EndTask(FindWindowW(L"SDL_app", L"Steam"), FALSE, TRUE);
Expand Down

0 comments on commit 9485a6b

Please sign in to comment.