[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#33734: KDE UI Guidelines typo
From: Jason Harris <jharris () 30doradus ! org>
Date: 2001-10-15 20:06:33
[Download RAW message or body]
Hello,
I just noticed a probable typo in the KDE UI Guidelines webpages. on page:
http://developer.kde.org/documentation/standards/kde/style/dnd/index.html
there is example code including the line (repeated twice):
if( !(e->state() && LeftButton)) return;
I believe that should be a single ampersand (&) because you want to check if
the "LeftButton" integer is "contained" within the e->state() bitmask; you
aren't AND-ing together two independent expressions.
cheers,
Jason Harris
--
jharris@30doradus.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic