Open the correct file when crashing.
This commit is contained in:
@@ -54,8 +54,9 @@ void InformUserOfCrash( const CString &sPath )
|
|||||||
switch (button)
|
switch (button)
|
||||||
{
|
{
|
||||||
case kAlertStdAlertOKButton:
|
case kAlertStdAlertOKButton:
|
||||||
|
// This is lazy, and easy, and it _should_ work.
|
||||||
if (system(NULL))
|
if (system(NULL))
|
||||||
system("open /tmp/crashinfo.txt");
|
system("open '" + sPath + "'");
|
||||||
else
|
else
|
||||||
SysBeep(30);
|
SysBeep(30);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user