Fix r4383: trunk doesn't use wxString for exceptions anymore.

Originally committed to SVN as r4393.
This commit is contained in:
Amar Takhar 2010-06-01 07:55:24 +00:00
parent badee30d17
commit 002f284bea
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ void AegisubVersionCheckerThread::DoCheck()
std::auto_ptr<wxInputStream> 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()));