From 002f284bea8703e291f9c1a860ed1f71c3f4f570 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 1 Jun 2010 07:55:24 +0000 Subject: [PATCH] Fix r4383: trunk doesn't use wxString for exceptions anymore. Originally committed to SVN as r4393. --- aegisub/src/dialog_version_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/dialog_version_check.cpp b/aegisub/src/dialog_version_check.cpp index 6bc979fb5..3a2143b56 100644 --- a/aegisub/src/dialog_version_check.cpp +++ b/aegisub/src/dialog_version_check.cpp @@ -344,7 +344,7 @@ void AegisubVersionCheckerThread::DoCheck() std::auto_ptr stream(http.GetInputStream(path)); if (stream.get() == 0) // check for null-pointer - throw VersionCheckError(_("Could not connect to updates server.")); + throw VersionCheckError("Could not connect to updates server."); if (http.GetResponse() < 200 || http.GetResponse() >= 300) { const std::string str_err = STD_STR(wxString::Format(_("HTTP request failed, got HTTP response %d."), http.GetResponse()));