* fix incorrect positioning when parsing minor version string
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40346 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e48e64ad64
commit
cb16f69582
@ -373,7 +373,7 @@ BPackageInfo::Parser::_ParseVersionValue(BPackageVersion* value,
|
||||
word.text.CopyInto(minor, firstDotPos + 1, word.text.Length());
|
||||
else {
|
||||
word.text.CopyInto(minor, firstDotPos + 1,
|
||||
secondDotPos - firstDotPos + 1);
|
||||
secondDotPos - (firstDotPos + 1));
|
||||
word.text.CopyInto(micro, secondDotPos + 1, word.text.Length());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user