2006-10-07 Bruno Haible <bruno@clisp.org>
+ * lib/fstrcmp.c: Modernize the coding style.
+
* lib/fstrcmp.c: Include <stdbool.h>. Use bool where appropriate.
Rename 'minimal' to 'find_minimal'.
OFFSET tlo;
OFFSET thi;
- tlo = fd[d - 1],
- thi = fd[d + 1];
+ tlo = fd[d - 1];
+ thi = fd[d + 1];
if (tlo >= thi)
x = tlo + 1;
OFFSET tlo;
OFFSET thi;
- tlo = bd[d - 1],
- thi = bd[d + 1];
+ tlo = bd[d - 1];
+ thi = bd[d + 1];
+
if (tlo < thi)
x = tlo;
else
if (v > 12 * (c + (dd < 0 ? -dd : dd)))
{
- if
- (
- v > best
- &&
- xoff + SNAKE_LIMIT <= x
- &&
- x < xlim
- &&
- yoff + SNAKE_LIMIT <= y
- &&
- y < ylim
+ if (v > best
+ && xoff + SNAKE_LIMIT <= x && x < xlim
+ && yoff + SNAKE_LIMIT <= y && y < ylim
)
{
/* We have a good enough best diagonal; now insist