diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-23 10:44:37 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-23 10:44:37 (GMT) |
commit | 60f389c0efd76c3866d6c9c236fe7d370f584839 (patch) | |
tree | b6127371ec2095ad44c615bdd95d45303931c9c7 /Swiften/Whiteboard | |
parent | 04eba421f1c33064939a281e169dec472f424c32 (diff) | |
download | swift-contrib-60f389c0efd76c3866d6c9c236fe7d370f584839.zip swift-contrib-60f389c0efd76c3866d6c9c236fe7d370f584839.tar.bz2 |
Fixed typo in WhiteboardTransformer
Diffstat (limited to 'Swiften/Whiteboard')
-rw-r--r-- | Swiften/Whiteboard/WhiteboardTransformer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Whiteboard/WhiteboardTransformer.cpp b/Swiften/Whiteboard/WhiteboardTransformer.cpp index 60963fd..30450c1 100644 --- a/Swiften/Whiteboard/WhiteboardTransformer.cpp +++ b/Swiften/Whiteboard/WhiteboardTransformer.cpp @@ -96,7 +96,7 @@ namespace Swift { result.second->setParentID(serverOp->getID()); if (clientOp->getPos() < serverOp->getPos()) { result.first->setPos(result.first->getPos()-1); - } else if (clientOp->getPos() < serverOp->getPos()) { + } else if (clientOp->getPos() > serverOp->getPos()) { result.second->setPos(result.second->getPos()-1); } //TODO: situation with deletion of the same item |