Skip to content
Snippets Groups Projects
Commit c43be328 authored by rswindell's avatar rswindell
Browse files

Displays files with no extension without a '.'.

parent f82c5633
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment