From 74499ad64ad02bc5d7ef5cc584445eadf260a5c6 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Tue, 3 May 2022 00:09:34 -0700 Subject: [PATCH] Use to_string on integer --- library/modules/Gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/modules/Gui.cpp b/library/modules/Gui.cpp index 746a13b6a..ce43df71f 100644 --- a/library/modules/Gui.cpp +++ b/library/modules/Gui.cpp @@ -1783,7 +1783,7 @@ int Gui::autoDFAnnouncement(df::report_init r, string message) if (a_flags.bits.D_DISPLAY) { world->status.display_timer = r.display_timer; - Gui::writeToGamelog("x" + (repeat_count + 1)); + Gui::writeToGamelog("x" + to_string(repeat_count + 1)); } return 0; }