<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>On Monday, 20 July 2015 04:08:28 +0200, Sebastian Lackner wrote:<br><div>> On 20.07.2015 04:02, Hugh McMaster wrote:<br>> > +        GetConsoleMode(hConsoleIn, &mode);<br>> > +        ctx.insert = (mode & (ENABLE_INSERT_MODE|ENABLE_EXTENDED_FLAGS)) ==<br>> > +                     (ENABLE_INSERT_MODE|ENABLE_EXTENDED_FLAGS) ? 1 : 0;<br>> <br>> You can remove the " ? 1 : 0" here, the value is already BOOL.<br><br>Thanks. I've sent an updated patch.<br></div>                                     </div></body>
</html>