Compare commits
1 Commits
master
...
fix/1.18.0
Author | SHA1 | Date | |
---|---|---|---|
96d5817d77 |
@ -243,7 +243,7 @@ my_spawn (char **argv, struct spawn_fd_item_s *fd_list, unsigned int flags)
|
||||
handle = LoadLibrary ("user32.dll");
|
||||
if (handle)
|
||||
{
|
||||
func = GetProcAddress (handle, "AllowSetForegroundWindow");
|
||||
func = (BOOL (*)(DWORD)) GetProcAddress (handle, "AllowSetForegroundWindow");
|
||||
if (!func)
|
||||
FreeLibrary (handle);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user