core, w32: Fix flags passing to gpgme-w32-spawn
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 9 Feb 2018 15:04:54 +0000 (16:04 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 9 Feb 2018 15:11:03 +0000 (16:11 +0100)
commitf10605ffb5cc9d457c3e432918fdfbfaf3d04185
tree4991c4e952db16613ede06c6bbc38c8744a79105
parent5a5b0d4996c17bfbc69b90f89fec23732f92813a
core, w32: Fix flags passing to gpgme-w32-spawn

* src/w32-io.c (_gpgme_io_spawn): Don't hardcode flags value.

--
IOSPAWN_FLAG_ALLOW_SET_FG is 2 and was translated to 1.

This might fix the pinentry foreground handling pass through.
src/w32-io.c