сmm: fixed typo

git-svn-id: svn://kolibrios.org@9705 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2022-02-08 18:27:40 +00:00
parent 30da4f7636
commit 9d4f6fb10b

View File

@ -1721,7 +1721,7 @@ FILE *CreateOutPut(char *ext,char *mode)
{
char buf[256];
FILE *diskout;
if(!ext && strlen(ext)) {
if(ext && strlen(ext)) {
sprintf(buf,"%s.%s",rawfilename,ext);
} else {
strcpy(buf, rawfilename);