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

Changed getfilespec() to return '*' by default on Unix.

parent d09a765b
No related branches found
No related tags found
No related merge requests found
......@@ -213,9 +213,11 @@ char * sbbs_t::getfilespec(char *str)
{
bputs(text[FileSpecStarDotStar]);
if(!getstr(str,12,K_UPPER))
strcpy(str,"*.*");
strcpy(str,ALLFILES);
#ifndef __unix__
else if(!strchr(str,'.') && strlen(str)<=8)
strcat(str,".*");
#endif
if(sys_status&SS_ABORT)
return(0);
return(str);
......
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