Skip to content

Commit

Permalink
Merge pull request #11867 from unknownbrackets/ui-menu
Browse files Browse the repository at this point in the history
Fix Windows help menu
  • Loading branch information
hrydgard authored Mar 4, 2019
2 parents 3cf6b18 + f220615 commit c77af18
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions UI/MainScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -802,10 +802,10 @@ void MainScreen::CreateViews() {
scrollHomebrew->SetTag("MainScreenHomebrew");

GameBrowser *tabAllGames = new GameBrowser(g_Config.currentDirectory, true, &g_Config.bGridView2,
mm->T("How to get games"), "http://www.ppsspp.org/getgames.html", 0,
mm->T("How to get games"), "https://www.ppsspp.org/getgames.html", 0,
new LinearLayoutParams(FILL_PARENT, FILL_PARENT));
GameBrowser *tabHomebrew = new GameBrowser(GetSysDirectory(DIRECTORY_GAME), false, &g_Config.bGridView3,
mm->T("How to get homebrew & demos", "How to get homebrew && demos"), "http://www.ppsspp.org/gethomebrew.html",
mm->T("How to get homebrew & demos", "How to get homebrew && demos"), "https://www.ppsspp.org/gethomebrew.html",
FLAG_HOMEBREWSTOREBUTTON,
new LinearLayoutParams(FILL_PARENT, FILL_PARENT));

Expand Down Expand Up @@ -1267,7 +1267,7 @@ void UmdReplaceScreen::CreateViews() {
scrollAllGames->SetTag("UmdReplaceAllGames");

GameBrowser *tabAllGames = new GameBrowser(g_Config.currentDirectory, true, &g_Config.bGridView2,
mm->T("How to get games"), "http://www.ppsspp.org/getgames.html", 0,
mm->T("How to get games"), "https://www.ppsspp.org/getgames.html", 0,
new LinearLayoutParams(FILL_PARENT, FILL_PARENT));

scrollAllGames->Add(tabAllGames);
Expand Down
4 changes: 2 additions & 2 deletions UI/ReportScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ EventReturn ReportScreen::HandleSubmit(EventParams &e) {
}

EventReturn ReportScreen::HandleBrowser(EventParams &e) {
const std::string url = "http://" + Reporting::ServerHost() + "/";
const std::string url = "https://" + Reporting::ServerHost() + "/";
LaunchBrowser(url.c_str());
return EVENT_DONE;
}
Expand Down Expand Up @@ -458,7 +458,7 @@ void ReportFinishScreen::ShowSuggestions() {
}

UI::EventReturn ReportFinishScreen::HandleViewFeedback(UI::EventParams &e) {
const std::string url = "http://" + Reporting::ServerHost() + "/game/" + Reporting::CurrentGameID();
const std::string url = "https://" + Reporting::ServerHost() + "/game/" + Reporting::CurrentGameID();
LaunchBrowser(url.c_str());
return EVENT_DONE;
}
2 changes: 1 addition & 1 deletion Windows/GPU/WindowsGLContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ bool WindowsGLContext::InitFromRenderThread(std::string *error_message) {
const char *defaultError = "Insufficient OpenGL driver support detected!\n\n"
"Your GPU reports that it does not support OpenGL 2.0. Would you like to try using DirectX instead?\n\n"
"DirectX is currently compatible with less games, but on your GPU it may be the only choice.\n\n"
"Visit the forums at http://forums.ppsspp.org for more information.\n\n";
"Visit the forums at https://forums.ppsspp.org for more information.\n\n";

std::wstring versionDetected = ConvertUTF8ToWString(glVersion + "\n\n");
std::wstring error = ConvertUTF8ToWString(err->T("InsufficientOpenGLDriver", defaultError));
Expand Down
8 changes: 4 additions & 4 deletions Windows/MainWindowMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ namespace MainWindow {
static void EmptySubMenu(HMENU menu) {
int c = GetMenuItemCount(menu);
for (int i = 0; i < c; ++i) {
RemoveMenu(menu, i, MF_BYPOSITION);
RemoveMenu(menu, 0, MF_BYPOSITION);
}
}

Expand Down Expand Up @@ -989,15 +989,15 @@ namespace MainWindow {
break;

case ID_HELP_OPENWEBSITE:
ShellExecute(NULL, L"open", L"http://www.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
ShellExecute(NULL, L"open", L"https://www.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
break;

case ID_HELP_BUYGOLD:
ShellExecute(NULL, L"open", L"http://central.ppsspp.org/buygold", NULL, NULL, SW_SHOWNORMAL);
ShellExecute(NULL, L"open", L"https://central.ppsspp.org/buygold", NULL, NULL, SW_SHOWNORMAL);
break;

case ID_HELP_OPENFORUM:
ShellExecute(NULL, L"open", L"http://forums.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
ShellExecute(NULL, L"open", L"https://forums.ppsspp.org/", NULL, NULL, SW_SHOWNORMAL);
break;

case ID_HELP_GITHUB:
Expand Down

0 comments on commit c77af18

Please sign in to comment.