← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3197: fix tag offset

 

------------------------------------------------------------
revno: 3197
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Tue 2013-01-29 20:16:18 +0100
message:
  fix tag offset
modified:
  dcpp/Tagger.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dcpp/Tagger.cpp'
--- dcpp/Tagger.cpp	2013-01-29 18:08:36 +0000
+++ dcpp/Tagger.cpp	2013-01-29 19:16:18 +0000
@@ -62,7 +62,7 @@
 
 	for(auto& tag: tags) {
 		if(tag.pos >= end) {
-			tag.pos -= delta;
+			tag.pos += delta;
 		} else if(tag.pos > start) {
 			tag.pos = start;
 		}