changeset 1360 | d3e285281c26 |
parent 1066 | 1f1b3686a2b0 |
child 1485 | 51c11e77408a |
--- a/QTfrontend/proto.cpp Wed Oct 15 16:54:05 2008 +0000 +++ b/QTfrontend/proto.cpp Wed Oct 15 16:59:11 2008 +0000 @@ -26,6 +26,7 @@ QByteArray & HWProto::addStringToBuffer(QByteArray & buf, const QString & string) { QByteArray strmsg = string.toUtf8(); + strmsg.left(250); quint8 sz = strmsg.size(); buf.append(QByteArray((char *)&sz, 1)); buf.append(strmsg);