OS X Crash Dialog: Open log folders after Trac.

Better chance of the log folders not getting
hidden behind a large browser window.
master
NanoTech 2012-03-18 18:23:59 -06:00
parent 153bd91631
commit 6003273616
1 changed files with 1 additions and 1 deletions

View File

@ -471,6 +471,7 @@ void _debug( int line, code_part part, const char *function, const char *str, ..
2, "Show Log Files & Open Bug Reporter", "Ignore", NULL); 2, "Show Log Files & Open Bug Reporter", "Ignore", NULL);
if (clickedIndex == 0) if (clickedIndex == 0)
{ {
cocoaOpenURL("http://developer.wz2100.net/newticket");
if (WZDebugfilename == NULL) { if (WZDebugfilename == NULL) {
cocoaShowAlert("Unable to open debug log.", cocoaShowAlert("Unable to open debug log.",
"The debug log subsystem has not yet been initialised.", "The debug log subsystem has not yet been initialised.",
@ -479,7 +480,6 @@ void _debug( int line, code_part part, const char *function, const char *str, ..
cocoaSelectFileInFinder(WZDebugfilename); cocoaSelectFileInFinder(WZDebugfilename);
} }
cocoaOpenUserCrashReportFolder(); cocoaOpenUserCrashReportFolder();
cocoaOpenURL("http://developer.wz2100.net/newticket");
} }
#else #else
const char* popupBuf = useInputBuffer1 ? inputBuffer[1] : inputBuffer[0]; const char* popupBuf = useInputBuffer1 ? inputBuffer[1] : inputBuffer[0];