aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-01-16 23:11:38 +0000
committerWill Andrews <will@FreeBSD.org>2001-01-16 23:11:38 +0000
commit6e23ca1d3eea0d104cbda84fd2f305f8d4de68dc (patch)
tree3aeb82be1055243d80ece78ebf8cd5709bc37e2c /Tools
parentf73338fa16a26f5ddbd676248ba34eb5eeb04355 (diff)
downloadports-6e23ca1d3eea0d104cbda84fd2f305f8d4de68dc.tar.gz
ports-6e23ca1d3eea0d104cbda84fd2f305f8d4de68dc.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index c4b3042bc3df..fbfa4404f682 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -240,7 +240,7 @@ foreach my $thisdir (@dirs) {
$tmp = 0;
# Until we reach the offset, record the number of words.
while ($tmp < $offset) {
- $tmp += length($commentArr[$tmp2]);
+ $tmp += length($commentArr[$tmp2]) + 1;
$tmp2++;
}
$tmp2--;