Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Compare Revisions
0c28f0192b77c5b42e47a33aa47d98ef5b70bb9e...f33f066b196230b5c397a5cea18792bef7a9f573
Commits (1)
Digitalman and Clang agree that order of operations is too hard to
· f33f066b
Deucе
authored
May 20, 2021
reply on. Make it harder to merge this code from upstream in the future instead.
f33f066b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/conio/xbr.c
src/conio/xbr.c
+2
-2
No files found.
src/conio/xbr.c
View file @
f33f066b
...
...
@@ -74,8 +74,8 @@ static uint32_t pixel_diff(uint32_t x, uint32_t y)
const unsigned i = df(PH,PD) + df(PH,I5) + df(PF,I4) + df(PF,PB) + (df(PE,PI)<<2); \
if (e <= i) { \
const unsigned px = df(PE,PF) <= df(PE,PH) ? PF : PH; \
if (e < i && (!eq(PF,PB) && !eq(PH,PD) || eq(PE,PI)
\
&& (!eq(PF,I4) && !eq(PH,I5))
\
if
(
(e < i
)
&&
(
(!eq(PF,PB) && !eq(PH,PD)
)
||
(
eq(PE,PI) \
&& (!eq(PF,I4) && !eq(PH,I5))
)
\
|| eq(PE,PG) || eq(PE,PC))) { \
const unsigned ke = df(PF,PG); \
const unsigned ki = df(PH,PC); \
...
...