Open the correct file when crashing.

This commit is contained in:
Steve Checkoway
2004-03-11 10:01:09 +00:00
parent 4fa5f867e1
commit a5f8f3bc23
+2 -1
View File
@@ -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;