summaryrefslogtreecommitdiff
path: root/lib/77bit/packjt77.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2022-08-08 23:08:17 +0200
committerChristoph Berg <myon@debian.org>2022-08-08 23:08:17 +0200
commit43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (patch)
treefac973fdc7378510849f4d749cd311176c023ebb /lib/77bit/packjt77.f90
parentd47341d71ff3df889c1180eb7bfb4fc0272eb26b (diff)
New upstream version 2.6.0~rc2+repackupstream/2.6.0_rc2+repack
Diffstat (limited to 'lib/77bit/packjt77.f90')
-rwxr-xr-xlib/77bit/packjt77.f906
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/77bit/packjt77.f90 b/lib/77bit/packjt77.f90
index 23d4bdb8..8fc575f0 100755
--- a/lib/77bit/packjt77.f90
+++ b/lib/77bit/packjt77.f90
@@ -830,7 +830,9 @@ subroutine split77(msg,nwords,nw,w)
iz=j !Message length
nwords=k !Number of words in msg
if(nwords.le.0) go to 900
- nw(k)=len(trim(w(k)))
+ do i=1,nwords
+ nw(i)=len(trim(w(i)))
+ enddo
msg(iz+1:)=' '
if(nwords.lt.3) go to 900
call chkcall(w(3),bcall_1,ok1)
@@ -839,7 +841,7 @@ subroutine split77(msg,nwords,nw,w)
w(2:12)=w(3:13) !Move all remaining words down by one
nwords=nwords-1
endif
-
+
900 return
end subroutine split77