From bfa62817a7b24653be4280583f16b2655acf959c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 17 Dec 2002 06:34:08 +0000 Subject: [PATCH] use gotourl --- stepmania/src/Crash.cpp | 5 ++--- stepmania/src/arch/ErrorDialog/ErrorDialog_Win32.cpp | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/Crash.cpp b/stepmania/src/Crash.cpp index 957ab1a787..2151086f79 100644 --- a/stepmania/src/Crash.cpp +++ b/stepmania/src/Crash.cpp @@ -30,9 +30,8 @@ #include "disasm.h" #include "CrashList.h" -// GotoURL pulls in MFC stuff that we really shouldn't have here. -// #include "RageUtil.h" // for GotoURL -HINSTANCE GotoURL(const char *url); +#include "archutils/Win32/GotoURL.h" + static void DoSave(const EXCEPTION_POINTERS *pExc); /////////////////////////////////////////////////////////////////////////// diff --git a/stepmania/src/arch/ErrorDialog/ErrorDialog_Win32.cpp b/stepmania/src/arch/ErrorDialog/ErrorDialog_Win32.cpp index 2d26c33040..24d1def7ff 100644 --- a/stepmania/src/arch/ErrorDialog/ErrorDialog_Win32.cpp +++ b/stepmania/src/arch/ErrorDialog/ErrorDialog_Win32.cpp @@ -2,6 +2,8 @@ #include "../../RageUtil.h" #include "../../resource.h" +#include "../../archutils/Win32/GotoURL.h" + #include "ErrorDialog_Win32.h" static CString g_sErrorString;