Skip to content

Commit

Permalink
Links to .c_str();
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieEldridge committed Dec 17, 2024
1 parent 5c22127 commit 29cd713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions M2TWEOP Code/M2TWEOP GUI/mainUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ namespace mainUI
}
if (ImGui::Button("Website", helpers::getScreen().centerXButton))
{
ShellExecuteA(NULL, "open", dataG::data.gameData.websiteLink, NULL, NULL, SW_SHOWNORMAL);
ShellExecuteA(NULL, "open", dataG::data.gameData.websiteLink.c_str(), NULL, NULL, SW_SHOWNORMAL);
}
if (ImGui::Button("Discord", helpers::getScreen().centerXButton))
{
ShellExecuteA(NULL, "open", dataG::data.gameData.discordServerLink;, NULL, NULL, SW_SHOWNORMAL);
ShellExecuteA(NULL, "open", dataG::data.gameData.discordServerLink.c_str(), NULL, NULL, SW_SHOWNORMAL);
}
ImGui::End();

Expand Down

0 comments on commit 29cd713

Please sign in to comment.