diff --git a/src/sbbs3/filelist.c b/src/sbbs3/filelist.c index 8b05067ecc076ffef441a73c109a9609253b9d79..8aa3b308625f340c250f9947b98b49c2cec8da17 100644 --- a/src/sbbs3/filelist.c +++ b/src/sbbs3/filelist.c @@ -354,7 +354,7 @@ int main(int argc, char **argv) while(m<l && !ferror(out)) { for(j=0;j<12 && m<l;j++) if(j==8) - str[j]='.'; + str[j]=ixbbuf[m]>' ' ? '.' : ' '; else str[j]=ixbbuf[m++]; /* Turns FILENAMEEXT into FILENAME.EXT */ str[j]=0;