summaryrefslogtreecommitdiff
path: root/lib/fmtmsg.f90
diff options
context:
space:
mode:
authortony mancill <tmancill@debian.org>2026-04-12 08:46:47 -0700
committertony mancill <tmancill@debian.org>2026-04-12 08:46:47 -0700
commitcd2dad3bc7ae0ee0a18b7b20a945009362ec3851 (patch)
tree5a622ec4193e9bc899f6499f936848a661be29cb /lib/fmtmsg.f90
parent558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff)
parent291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff)
Merge branch 'debian/latest' into debian/trixie-backports
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