Skip to content

Commit

Permalink
GUI: Attempt to fix internal compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrsatrio committed Sep 1, 2024
1 parent 77c6a8c commit 2188f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ep_gui/GUI.c
Original file line number Diff line number Diff line change
Expand Up @@ -2542,8 +2542,8 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
}
}
HKEY hKey = NULL;
wchar_t* bIsHKLM = wcsstr(section, L"HKEY_LOCAL_MACHINE");
bIsHKLM = !bIsHKLM ? NULL : ((bIsHKLM - section) < 3);
wchar_t* matchHKLM = wcsstr(section, L"HKEY_LOCAL_MACHINE");
BOOL bIsHKLM = matchHKLM && (matchHKLM - section) < 3;
DWORD dwDisposition;
DWORD dwSize = sizeof(DWORD);
DWORD value = FALSE;
Expand Down

0 comments on commit 2188f0a

Please sign in to comment.