Skip to content
Extraits de code Groupes Projets
Valider f279bc2a rédigé par Niels Martin Hansen's avatar Niels Martin Hansen
Parcourir les fichiers

Crash Aegisub by holding Ctrl or Ctrl+Shift while selecting Bug Tracker from...

Crash Aegisub by holding Ctrl or Ctrl+Shift while selecting Bug Tracker from the Help menu. (Cmd instead of Ctrl on Mac.)

Originally committed to SVN as r2476.
parent 560ea054
Branches
Étiquettes
Aucune requête de fusion associée trouvée
...@@ -582,6 +582,17 @@ void FrameMain::OnForums(wxCommandEvent& WXUNUSED(event)) { ...@@ -582,6 +582,17 @@ void FrameMain::OnForums(wxCommandEvent& WXUNUSED(event)) {
/////////////////// ///////////////////
// Open bugtracker // Open bugtracker
void FrameMain::OnBugTracker(wxCommandEvent& WXUNUSED(event)) { void FrameMain::OnBugTracker(wxCommandEvent& WXUNUSED(event)) {
if (wxGetMouseState().CmdDown()) {
if (wxGetMouseState().ShiftDown()) {
wxMessageBox(_T("Now crashing with an access violation..."));
for (char *foo = (char*)0;;) *foo++ = 42;
}
else {
wxMessageBox(_T("Now crashing with an unhandled exception..."));
throw this;
}
}
AegisubApp::OpenURL(_T("http://bugs.aegisub.net/")); AegisubApp::OpenURL(_T("http://bugs.aegisub.net/"));
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter