fixed small bug in certificate correction

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4864 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-01-29 16:49:35 +00:00
parent 4e5e149a95
commit b8816c8622

View File

@ -409,7 +409,8 @@ TextPage::runEmailClient()
void TextPage::cleanFriendCert() void TextPage::cleanFriendCert()
{ {
std::string cert = friendCertEdit->toPlainText().toUtf8().constData(); std::string cert = friendCertEdit->toPlainText().toUtf8().constData() ;
cert += "\n"; // add an end of line to avoid a bug
std::string cleanCert; std::string cleanCert;
int error_code ; int error_code ;