gdrcopy icon indicating copy to clipboard operation
gdrcopy copied to clipboard

Fix minor readability issue in gdr_open

Open al42and opened this issue 3 years ago • 0 comments

Helpfully hinted by Clang: & has lower precedence than ==; == will be evaluated first.

The result is the same: (ps_tmp) & (0x1 == 1) is ps_tmp & 1 is (ps_tmp & 0x1) == 1, but the current form looks dangerously misleading.

al42and avatar Feb 11 '22 16:02 al42and