Changeset 5445

Show
Ignore:
Timestamp:
09/28/07 19:51:47 (13 months ago)
Author:
eugene
Message:

Fixed message splitting to include the delimiter into the first part, ticket 815.

Location:
branches/qt-gui_qt4/src/userevents
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/qt-gui_qt4/src/userevents/usersendcommon.cpp

    r5433 r5445  
    711711            if (foundIndex > 0) 
    712712            { 
    713               message.truncate(foundIndex); 
     713              message.truncate(foundIndex + 1); 
    714714              messageRaw = myCodec->fromUnicode(message); 
    715715            } 
  • branches/qt-gui_qt4/src/userevents/usersendmsgevent.cpp

    r5422 r5445  
    178178        if (foundIndex > 0) 
    179179        { 
    180           message.truncate(foundIndex); 
     180          message.truncate(foundIndex + 1); 
    181181          messageRaw = myCodec->fromUnicode(message); 
    182182        }