From bf1d07f513bfcc0f0b6359a08697a3bb6bd800c8 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 11 Jul 2015 15:36:53 -0700 Subject: [PATCH] win-capture: Fix bad return type This was casting the return type to bool, which caused any non-zero return code be converted to 1. --- plugins/win-capture/game-capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/win-capture/game-capture.c b/plugins/win-capture/game-capture.c index e55667063..7efc9c1fd 100644 --- a/plugins/win-capture/game-capture.c +++ b/plugins/win-capture/game-capture.c @@ -560,7 +560,7 @@ static inline bool init_pipe(struct game_capture *gc) return true; } -static inline bool inject_library(HANDLE process, const wchar_t *dll) +static inline int inject_library(HANDLE process, const wchar_t *dll) { return inject_library_obf(process, dll, "D|hkqkW`kl{k\\osofj", 0xa178ef3655e5ade7,