From 7d3625d05f2da6fe19e75fe319b1294ad0f753e9 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 26 Oct 2004 16:58:34 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4429 --- clientgui/ValidateAccountKey.cpp | 5 ++++- clientgui/ValidateURL.cpp | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/clientgui/ValidateAccountKey.cpp b/clientgui/ValidateAccountKey.cpp index b7bcff066a..a72a06dde1 100644 --- a/clientgui/ValidateAccountKey.cpp +++ b/clientgui/ValidateAccountKey.cpp @@ -21,6 +21,9 @@ // Revision History: // // $Log$ +// Revision 1.3 2004/10/26 16:58:34 rwalton +// *** empty log message *** +// // Revision 1.2 2004/10/22 16:06:10 rwalton // *** empty log message *** // @@ -96,7 +99,7 @@ bool CValidateAccountKey::Validate(wxWindow *parent) m_validatorWindow->SetFocus(); wxString buf; - buf.Printf(m_errormsg, control->GetValue()); + buf.Printf(m_errormsg, control->GetValue().c_str()); wxMessageBox(buf, _("Validation conflict"), wxOK | wxICON_EXCLAMATION, parent); diff --git a/clientgui/ValidateURL.cpp b/clientgui/ValidateURL.cpp index cfd46a9ea4..d2f9ef24eb 100644 --- a/clientgui/ValidateURL.cpp +++ b/clientgui/ValidateURL.cpp @@ -21,6 +21,9 @@ // Revision History: // // $Log$ +// Revision 1.4 2004/10/26 16:58:34 rwalton +// *** empty log message *** +// // Revision 1.3 2004/10/22 16:06:10 rwalton // *** empty log message *** // @@ -106,7 +109,7 @@ bool CValidateURL::Validate(wxWindow *parent) m_validatorWindow->SetFocus(); wxString buf; - buf.Printf(m_errormsg, control->GetValue()); + buf.Printf(m_errormsg, control->GetValue().c_str()); wxMessageBox(buf, _("Validation conflict"), wxOK | wxICON_EXCLAMATION, parent);