Skip to content

Commit

Permalink
fixed an earlier transcription mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
emorway-usgs committed Jan 16, 2024
1 parent 51c8ffe commit 29a60fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Utilities/InputOutput.f90
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module InputOutputModule
BuildFloatFormat, BuildIntFormat, fseek_stream, get_nwords, &
u9rdcom, append_processor_id

contains
contains

!> @brief Open a file
!!
Expand Down Expand Up @@ -504,7 +504,7 @@ subroutine URWORD(line, icol, istart, istop, ncode, n, r, iout, in)
if(ncode==1) then
idiff = ichar('a') - ichar('A')
do 50 k=istart, istop
if(line(k:k) > 'a' .and. line(k:k) < 'z') &
if(line(k:k) >= 'a' .and. line(k:k) <= 'z') &
line(k:k) = char(ichar(line(k:k)) - idiff)
50 continue
return
Expand Down Expand Up @@ -538,7 +538,7 @@ subroutine URWORD(line, icol, istart, istop, ncode, n, r, iout, in)
return
!
! -- If output unit is positive; write a message to output unit.
else if(iout==0) then
else if(iout > 0) then
if(in > 0) then
write(msg_line,201) in, line(istart:istop), string(1:l)
else
Expand Down

0 comments on commit 29a60fc

Please sign in to comment.