From 30624a2bf3717e64a2134306a74d48463d8f14d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 31 Mar 2015 16:33:20 -0300 Subject: rename new_piece to piece_new in order to follow general convention --- lib/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/board.c') diff --git a/lib/board.c b/lib/board.c index 499478a..a4a6c49 100644 --- a/lib/board.c +++ b/lib/board.c @@ -27,7 +27,7 @@ static Board _setup_colors(Board b) { static Board _set_new_piece(Board b, Coord c, Color color, PieceType t) { Square s = board_get_square(b, c); - s.piece = new_piece(color, t); + s.piece = piece_new(color, t); return board_set_square(b, c, s); } -- cgit v1.2.3