提交 480d0e98 编写于 作者: J jp9000

win-capture: Fix "attempting to hook [executable]" message

The "attempting to hook [executable]" message would not display the
correct executable if it's fallen back to a different window with the
same window class.
上级 209bcda1
......@@ -1016,8 +1016,9 @@ static bool init_hook(struct game_capture *gc)
exe.array);
}
} else {
info("attempting to hook process: %s", gc->executable.array);
dstr_copy_dstr(&exe, &gc->executable);
if (get_window_exe(&exe, gc->next_window)) {
info("attempting to hook process: %s", exe.array);
}
}
blacklisted_process = is_blacklisted_exe(exe.array);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册