laforge
/
openbts-osmo
Archived
1
0
Fork 0

BUGFIX: Forgotten parentheses in USSDHandler::postUSSDData().

This commit is contained in:
Alexander Chemeris 2010-08-11 16:39:46 +04:00
parent 7f5fbdb906
commit dd366df4f4
1 changed files with 1 additions and 1 deletions

View File

@ -674,7 +674,7 @@ void USSDHandler::postUSSDData(Control::USSDData::USSDMessageType messageType, s
{
int contLen = mContinueStr.length();
mString = USSDString.substr(USSD_MAX_CHARS_7BIT-contLen,
USSDString.length()-USSD_MAX_CHARS_7BIT-contLen);
USSDString.length()-(USSD_MAX_CHARS_7BIT-contLen));
USSDString.erase(USSDString.begin()+USSD_MAX_CHARS_7BIT-contLen, USSDString.end());
USSDString += mContinueStr;
}