summaryrefslogtreecommitdiff
path: root/lib/fmtmsg.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
committerChristoph Berg <myon@debian.org>2026-04-07 19:02:45 +0200
commitf647d78463c1250ce9c99af664615fafccf5e959 (patch)
tree5b00428cef68aef1c9d407e2d4535687422419b6 /lib/fmtmsg.f90
parent0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff)
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'lib/fmtmsg.f90')
-rw-r--r--[-rwxr-xr-x]lib/fmtmsg.f9042
1 files changed, 21 insertions, 21 deletions
diff --git a/lib/fmtmsg.f90 b/lib/fmtmsg.f90
index 611534be..81789e2a 100755..100644
--- a/lib/fmtmsg.f90
+++ b/lib/fmtmsg.f90
@@ -1,21 +1,21 @@
-subroutine fmtmsg(msg,iz)
-
- character*(*) msg
-
-! Convert all letters to upper case
- iz=len(msg)
- do i=1,iz
- if(msg(i:i).ge.'a' .and. msg(i:i).le.'z') &
- msg(i:i)= char(ichar(msg(i:i))+ichar('A')-ichar('a'))
- if(msg(i:i).ne.' ') iz=i
- enddo
-
- do iter=1,37 !Collapse multiple blanks into one
- ib2=index(msg(1:iz),' ')
- if(ib2.lt.1) go to 100
- msg=msg(1:ib2)//msg(ib2+2:)
- iz=iz-1
- enddo
-
-100 return
-end subroutine fmtmsg
+subroutine fmtmsg(msg,iz)
+
+ character*(*) msg
+
+! Convert all letters to upper case
+ iz=len(msg)
+ do i=1,iz
+ if(msg(i:i).ge.'a' .and. msg(i:i).le.'z') &
+ msg(i:i)= char(ichar(msg(i:i))+ichar('A')-ichar('a'))
+ if(msg(i:i).ne.' ') iz=i
+ enddo
+
+ do iter=1,37 !Collapse multiple blanks into one
+ ib2=index(msg(1:iz),' ')
+ if(ib2.lt.1) go to 100
+ msg=msg(1:ib2)//msg(ib2+2:)
+ iz=iz-1
+ enddo
+
+100 return
+end subroutine fmtmsg