Subversion Repositories SvarDOS

Rev

Rev 2218 | Rev 2230 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2218 Rev 2225
Line 533... Line 533...
533
}
533
}
534
 
534
 
535
 
535
 
536
static void dir_print_summary_files(char *buff64, unsigned short uint32maxlen, unsigned long summary_totsz, unsigned long summary_fcount, unsigned short *availrows, unsigned char flags, const struct nls_patterns *nls) {
536
static void dir_print_summary_files(char *buff64, unsigned short uint32maxlen, unsigned long summary_totsz, unsigned long summary_fcount, unsigned short *availrows, unsigned char flags, const struct nls_patterns *nls) {
537
  unsigned short i;
537
  unsigned short i;
-
 
538
 
538
  /* x file(s) (maximum of files in a FAT-32 directory is 65'535) */
539
  /* x file(s) (maximum of files in a FAT-32 directory is 65'535) */
539
  sv_memset(buff64, ' ', 8);
540
  sv_memset(buff64, ' ', 8);
-
 
541
  buff64[8] = 0;
540
  i = nls_format_number(buff64 + 8, summary_fcount, nls);
542
  i = nls_format_number(buff64 + 8, summary_fcount, nls);
541
  sprintf(buff64 + 8 + i, " %s ", svarlang_str(37,22)/*"file(s)"*/);
-
 
542
  output(buff64 + i);
543
  output(buff64 + i);
-
 
544
  output(" ");
-
 
545
  output(svarlang_str(37,22)); /* "file(s)" */
-
 
546
  output(" ");
-
 
547
 
543
  /* xxxx bytes */
548
  /* xxxx bytes */
544
  sv_memset(buff64, ' ', 14);
549
  sv_memset(buff64, ' ', 14);
545
  i = nls_format_number(buff64 + uint32maxlen, summary_totsz, nls);
550
  i = nls_format_number(buff64 + uint32maxlen, summary_totsz, nls);
546
  output(buff64 + i + 1);
551
  output(buff64 + i + 1);
547
  output(" ");
552
  output(" ");