From 4bff66e88b39a950e1546b7a58e37d6f965cd3f4 Mon Sep 17 00:00:00 2001 From: alexsandulescu Date: Tue, 13 Jul 2021 01:53:53 +0300 Subject: [PATCH] Cleanup --- r5dev/src/overlay.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/r5dev/src/overlay.cpp b/r5dev/src/overlay.cpp index fa5c597c..e133e352 100644 --- a/r5dev/src/overlay.cpp +++ b/r5dev/src/overlay.cpp @@ -593,16 +593,16 @@ public: || ServerBrowserFilter.PassFilter(version)) { ImGui::TableNextColumn(); - ImGui::Text(server->name.c_str()); + ImGui::Text(name); ImGui::TableNextColumn(); - ImGui::Text(server->ip.c_str()); + ImGui::Text(ip); ImGui::TableNextColumn(); - ImGui::Text(server->map.c_str()); + ImGui::Text(map); ImGui::TableNextColumn(); - ImGui::Text(server->version.c_str()); + ImGui::Text(version); ImGui::TableNextColumn(); std::string selectButtonText = "Connect##"; selectButtonText += (server->name + server->ip + server->map);