Skip to content

Commit

Permalink
Remove default parameter from SystemOpen
Browse files Browse the repository at this point in the history
  • Loading branch information
edo9300 committed Jul 29, 2023
1 parent 475e34a commit 3bf113a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gframe/menu_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ bool MenuHandler::OnEvent(const irr::SEvent& event) {
mainGame->HideElement(mainGame->wMainMenu);
mainGame->PopupElement(mainGame->updateWindow);
} else if (prev_operation == ACTION_SHOW_CHANGELOG) {
Utils::SystemOpen(EPRO_TEXT("https://github.com/edo9300/edopro/releases"));
Utils::SystemOpen(EPRO_TEXT("https://github.com/edo9300/edopro/releases"), Utils::OPEN_URL);
}
prev_operation = 0;
prev_sel = -1;
Expand Down
2 changes: 1 addition & 1 deletion gframe/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ namespace ygo {
SHARE_FILE,
};

static void SystemOpen(epro::path_stringview arg, OpenType type = OPEN_URL);
static void SystemOpen(epro::path_stringview arg, OpenType type);

static void Reboot();

Expand Down

0 comments on commit 3bf113a

Please sign in to comment.