[Issue 10862] Assignment inside if condition still sometimes accepted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 20 19:38:45 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10862


Nick Sabalausky <cbkbbejeap at mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbkbbejeap at mailinator.com


--- Comment #9 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2013-08-20 19:38:39 PDT ---
(In reply to comment #8)
> if(XGetSelectionOwner((Display*)getApp()->getDisplay(),getApp()->xdndSelection)!=xid){

A: if
(XGetSelectionOwner((Display*)getApp()->getDisplay(),getApp()->xdndSelection)!=xid){

B: if (XGetSelectionOwner ((Display*)getApp ()->getDisplay (),getApp
()->xdndSelection)!=xid){

C: if( XGetSelectionOwner( (Display*)getApp()->getDisplay(),
getApp()->xdndSelection ) != xid ){


I'll take C, please!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list