From f54b7d0896c3e4e6c1956d18ffcb29d0a625df3a Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 28 Sep 2021 08:48:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Count=20of=20letters=20is=20alwa?= =?UTF-8?q?ys=20positive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/control.cpp b/Source/control.cpp index 5d6ad0407..7fe30ffc1 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -1670,7 +1670,7 @@ void DrawTalkPan(const Surface &out) int x = PANEL_LEFT + 200; int y = PANEL_Y + 10; - int idx = DrawString(out, TalkMessage, { { x, y }, { 250, 27 } }, UiFlags::ColorWhite | UiFlags::PentaCursor, 1, 13); + uint32_t idx = DrawString(out, TalkMessage, { { x, y }, { 250, 27 } }, UiFlags::ColorWhite | UiFlags::PentaCursor, 1, 13); if (idx < sizeof(TalkMessage)) TalkMessage[idx] = '\0';