Commit c43be328 authored by rswindell's avatar rswindell
Browse files

Displays files with no extension without a '.'.

parent f82c5633
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment