Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xMachina committed Aug 21, 2024
1 parent 2afbafa commit 962612e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions windows/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ HID_API_EXPORT const char* HID_API_CALL hid_version_str(void)

BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
switch (reason) {
switch (reason) {
case DLL_PROCESS_ATTACH:
tls_init_context();
break;
Expand All @@ -602,13 +602,13 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
tls_exit_context();
break;

case DLL_THREAD_DETACH: {
case DLL_THREAD_DETACH: {
DWORD thread_id = GetCurrentThreadId();
tls_free(thread_id, NULL, TRUE);
break;
}
}
return TRUE;
}
return TRUE;
}

int HID_API_EXPORT hid_init(void)
Expand Down

0 comments on commit 962612e

Please sign in to comment.