X-Git-Url: https://git.piment-noir.org/?p=Project_algorithmic_C.git;a=blobdiff_plain;f=lib%2Fothello.c;h=a66a121f2e57aa56aa8ff4c9204593abd19c60ff;hp=4e03069f0ee50981863601fb178ef5f93c49f1d3;hb=b5e9ccd0c40a658ea3fc8245b3ada821b248daed;hpb=21b9239c8a14c5f9b5553d1f6a583307971b26e6 diff --git a/lib/othello.c b/lib/othello.c index 4e03069..a66a121 100644 --- a/lib/othello.c +++ b/lib/othello.c @@ -67,7 +67,7 @@ bool is_box_type(int y, int x, unsigned int pawn_array[board_size][board_size], } static bool is_valid_coordinates(int y, int x) { - + if ((y > 0 && y < board_size + 1) && \ (x > 0 && x < board_size + 1)) { return true;