repositories
/
Project_algorithmic_C.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05e27bb
)
One more indentation fixlet
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Fri, 5 May 2017 18:18:38 +0000
(20:18 +0200)
committer
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Fri, 5 May 2017 18:18:38 +0000
(20:18 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
lib/othello.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/othello.c
b/lib/othello.c
index 12470ee23594486a59a00e6195fa93be463371ac..dd92cfb0cbf51900afcff9bebc9bef7c254ba56a 100644
(file)
--- a/
lib/othello.c
+++ b/
lib/othello.c
@@
-188,7
+188,7
@@
static unsigned int reverse_one_direction(int y, int x, int direction, unsigned
direction_to_coordinates(direction, &moving_y, &moving_x);
while (true) {
if (!is_valid_coordinates(moving_y, moving_x) || is_box_type(moving_y, moving_x, pawn_array, empty)) {
-
return 0;
+ return 0;
}
if (is_box_type(moving_y, moving_x, pawn_array, current_player)) {
break;