shithub: cstory

Download patch

ref: 6816f92b6dd9dccb6a98b7a6ab6050b8251255ae
parent: c9ac9d446d56335c278c54f11722e6796660f73a
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon May 6 14:13:22 EDT 2019

Fix error

--- a/src/Caret.cpp
+++ b/src/Caret.cpp
@@ -547,7 +547,8 @@
 
 void SetCaret(int x, int y, int code, int dir)
 {
-	for (int c = 0; c < CARET_MAX; c++)
+	int c;
+	for (c = 0; c < CARET_MAX; c++)
 		if (gCrt[c].cond == 0)
 			break;