Fix to the const definition
[Project_algorithmic_C.git] / src / main.c
index ead55ef8004ee9c018a5ace3fbb72c82cb1d5cb5..7a327bed08e9bb79e74ecfbb03cd3f9815d08667 100644 (file)
@@ -4,6 +4,7 @@
 #include <ncurses.h>
 
 #include "ui.h"
+#include "othello.h"
 
 int main() {
     int row = 0, col = 0;
@@ -23,7 +24,7 @@ int main() {
 
     /* center the board */
     int center_board_y = row/2 - 23/2;
-    int center_board_x = col/2 - 40/2;
+    int center_board_x = col/2 - 41/2;
 
     do {
         print_board(center_board_y, center_board_x);