kernel32/editline: Enabling/disabling Insert Mode via the user dialog should take effect immediately

Hugh McMaster hugh.mcmaster at outlook.com
Mon Jul 20 06:12:29 CDT 2015


On Monday, 20 July 2015 04:08:28 +0200, Sebastian Lackner wrote:
> On 20.07.2015 04:02, Hugh McMaster wrote:
> > +        GetConsoleMode(hConsoleIn, &mode);
> > +        ctx.insert = (mode & (ENABLE_INSERT_MODE|ENABLE_EXTENDED_FLAGS)) ==
> > +                     (ENABLE_INSERT_MODE|ENABLE_EXTENDED_FLAGS) ? 1 : 0;
> 
> You can remove the " ? 1 : 0" here, the value is already BOOL.

Thanks. I've sent an updated patch.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20150720/89a8886e/attachment.html>


More information about the wine-devel mailing list