Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5492 → Rev 5493

/programs/cmm/lib/file_system.h
272,4 → 272,17
itoa_(#size_prefix, bytes);
strcat(#size_prefix, #size_nm);
return #size_prefix;
}
 
:dword ConvertSizeToKb(unsigned int bytes)
{
unsigned char size[25]=0;
unsigned int kb;
dword kb_line;
 
kb_line = itoa(bytes / 1024);
strcpy(#size, kb_line);
strcat(#size, " Kb");
 
return #size;
}