File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ function page(array) result (table)
226
226
integer :: sz
227
227
! !character(len=1),parameter :: nl=new_line('A')
228
228
character (len= 1 ),parameter :: nl= char (10 )
229
+ character (len= 1 ),parameter :: cr= char (13 )
229
230
lines= 0
230
231
linelength= 0
231
232
length= 0
@@ -248,19 +249,14 @@ function page(array) result (table)
248
249
if (allocated (table))deallocate (table)
249
250
! intel-bug!allocate(character(len=linelength) :: table(lines))
250
251
allocate (character (len= 132 ) :: table(lines))
251
- ! !-----------------------------------------------------------
252
252
table= ' '
253
- ! !possible bug in mingw. null filled instead of space padded?
254
- do i= 1 ,lines
255
- table(i)= repeat (' ' ,len (table))
256
- enddo
257
- ! !-----------------------------------------------------------
258
253
linecount= 1
259
254
position= 1
260
255
do i= 1 ,sz
261
256
if (array(i).eq. nl)then
262
257
linecount= linecount+1
263
258
position= 1
259
+ elseif (array(i).eq. cr)then
264
260
elseif (linelength.ne. 0 )then
265
261
table(linecount)(position:position)= array(i)
266
262
position= position+1
You can’t perform that action at this time.
0 commit comments