diff --git a/src/guis/GuiMsgBox.cpp b/src/guis/GuiMsgBox.cpp index 5a7487a4f..b929841c0 100644 --- a/src/guis/GuiMsgBox.cpp +++ b/src/guis/GuiMsgBox.cpp @@ -55,7 +55,7 @@ GuiMsgBox::GuiMsgBox(Window* window, const std::string& text, // now that we know width, we can find height mMsg->setSize(width, 0); // mMsg->getSize.y() now returns the proper length - const float msgHeight = std::max(Font::get(FONT_SIZE_LARGE)->getHeight(), mMsg->getSize().y()); + const float msgHeight = std::max(Font::get(FONT_SIZE_LARGE)->getHeight(), mMsg->getSize().y()*1.225f); setSize(width + HORIZONTAL_PADDING_PX*2, msgHeight + mButtonGrid->getSize().y()); // center for good measure diff --git a/src/guis/GuiScraperMulti.cpp b/src/guis/GuiScraperMulti.cpp index 949940539..a4d20929b 100644 --- a/src/guis/GuiScraperMulti.cpp +++ b/src/guis/GuiScraperMulti.cpp @@ -122,11 +122,14 @@ void GuiScraperMulti::finish() { std::stringstream ss; if(mTotalSuccessful == 0) - ss << "NO GAMES SUCCESSFULLY SCRAPED."; - else + { + ss << "NO GAMES WERE SCRAPED."; + }else{ ss << mTotalSuccessful << " GAME" << ((mTotalSuccessful > 1) ? "S" : "") << " SUCCESSFULLY SCRAPED!"; - if(mTotalSkipped > 0) - ss << "\n" << mTotalSkipped << " GAME" << ((mTotalSkipped > 1) ? "S" : "") << " SKIPPED."; + + if(mTotalSkipped > 0) + ss << "\n" << mTotalSkipped << " GAME" << ((mTotalSkipped > 1) ? "S" : "") << " SKIPPED."; + } mWindow->pushGui(new GuiMsgBox(mWindow, ss.str(), "OK", [&] { delete this; })); diff --git a/src/guis/GuiSettings.cpp b/src/guis/GuiSettings.cpp index d9867b6c7..29ec79249 100644 --- a/src/guis/GuiSettings.cpp +++ b/src/guis/GuiSettings.cpp @@ -42,6 +42,7 @@ bool GuiSettings::input(InputConfig* config, Input input) Window* window = mWindow; while(window->peekGui() && window->peekGui() != window->getViewController()) delete window->peekGui(); + return true; } return GuiComponent::input(config, input);