corrected error discovered by Haiming Zhang
This commit is contained in:
parent
2296929344
commit
976803ba0b
|
@ -1237,8 +1237,7 @@ character(len=300) pure function IO_extractValue(pair,key)
|
|||
IO_extractValue = ''
|
||||
|
||||
myChunk = scan(pair,SEP)
|
||||
if (myChunk > 0 .and. pair(:myChunk-1) == key(:myChunk-1)) &
|
||||
IO_extractValue = pair(myChunk+1:) ! extract value if key matches
|
||||
if (myChunk > 0 .and. pair(:myChunk-1) == key) IO_extractValue = pair(myChunk+1:) ! extract value if key matches
|
||||
|
||||
end function IO_extractValue
|
||||
|
||||
|
|
Loading…
Reference in New Issue