more bracket evilness
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Fri Feb 1 12:04:33 CST 2002
>>>>> "Andreas" == Andreas Mohr <andi at rhlx01.fht-esslingen.de> writes:
Andreas> Hmm, isn't the boolean end result the same with or without fix
Andreas> ? I thought it is, but maybe I'm mistaken ??
- if (!dwFlags & 4)
+ if (!(dwFlags & 4))
The first line tells:
if ((dwFlagss == 0 & 4)
the second
if bit 2 of dwFlags is not set
Bye
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the wine-devel
mailing list