From 60f389c0efd76c3866d6c9c236fe7d370f584839 Mon Sep 17 00:00:00 2001 From: Mateusz Piekos Date: Mon, 23 Jul 2012 12:44:37 +0200 Subject: Fixed typo in WhiteboardTransformer 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 -- cgit v0.10.2-6-g49f6