From 9ca948e14594e775d03a1c266aec5e872c4513f2 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 20 Oct 2020 21:40:53 +0200 Subject: [PATCH] Fixed incorrect help text for the second button in GuiMsgBox. --- es-core/src/guis/GuiMsgBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/guis/GuiMsgBox.cpp b/es-core/src/guis/GuiMsgBox.cpp index 24d4d7bcb..c4816c227 100644 --- a/es-core/src/guis/GuiMsgBox.cpp +++ b/es-core/src/guis/GuiMsgBox.cpp @@ -37,7 +37,7 @@ GuiMsgBox::GuiMsgBox(Window* window, const HelpStyle& helpstyle, const std::stri (mWindow, name1, name1, std::bind(&GuiMsgBox::deleteMeAndCall, this, func1))); if (!name2.empty()) mButtons.push_back(std::make_shared - (mWindow, name2, name3, std::bind(&GuiMsgBox::deleteMeAndCall, this, func2))); + (mWindow, name2, name2, std::bind(&GuiMsgBox::deleteMeAndCall, this, func2))); if (!name3.empty()) mButtons.push_back(std::make_shared (mWindow, name3, name3, std::bind(&GuiMsgBox::deleteMeAndCall, this, func3)));