From a5f8f3bc23b90957fc43f21bccc056ed09f85109 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Thu, 11 Mar 2004 10:01:09 +0000 Subject: [PATCH] Open the correct file when crashing. --- stepmania/src/archutils/Darwin/Crash.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/archutils/Darwin/Crash.cpp b/stepmania/src/archutils/Darwin/Crash.cpp index c91b566a81..bb2dc11bab 100644 --- a/stepmania/src/archutils/Darwin/Crash.cpp +++ b/stepmania/src/archutils/Darwin/Crash.cpp @@ -54,8 +54,9 @@ void InformUserOfCrash( const CString &sPath ) switch (button) { case kAlertStdAlertOKButton: + // This is lazy, and easy, and it _should_ work. if (system(NULL)) - system("open /tmp/crashinfo.txt"); + system("open '" + sPath + "'"); else SysBeep(30); break;