home · contact · privacy
Replaced fgets() with try_fgets() in keybindings library.
[plomrogue] / src / ai.c
index aee8e738de50e245a40a057e513753723ba13eaf..7efacf240293c17d9cc06f96e910ffccf75401c0 100644 (file)
--- a/src/ai.c
+++ b/src/ai.c
@@ -45,8 +45,7 @@ static void clockwise_path(char ** path_ptr)
     for (; i < len; i++)
     {
         uint8_t next_i = i + 1;
-        if (   next_i == len
-            || old_char != path[next_i])
+        if (next_i == len || old_char != path[next_i])
         {
             break;
         }