From 84961be782ace1ceb3dee79c7f8b84c46a6b8d9f Mon Sep 17 00:00:00 2001 From: goat Date: Wed, 17 Aug 2022 20:26:30 +0200 Subject: [PATCH] chore: don't show "attempt to resume" in release builds --- DalamudCrashHandler/DalamudCrashHandler.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/DalamudCrashHandler/DalamudCrashHandler.cpp b/DalamudCrashHandler/DalamudCrashHandler.cpp index f0be81a73..e9e9deb48 100644 --- a/DalamudCrashHandler/DalamudCrashHandler.cpp +++ b/DalamudCrashHandler/DalamudCrashHandler.cpp @@ -564,10 +564,17 @@ int main() { config.cRadioButtons = ARRAYSIZE(radios); config.nDefaultRadioButton = IdRadioRestartNormal; config.cxWidth = 300; + +#if _DEBUG config.pszFooter = (L"" R"aa(Help | Open log directory | Open log file | Attempt to resume)aa" ); - +#else + config.pszFooter = (L"" + R"aa(Help | Open log directory | Open log file)aa" + ); +#endif + // Can't do this, xiv stops pumping messages here //config.hwndParent = FindWindowA("FFXIVGAME", NULL);