Subversion Repositories SvarDOS

Rev

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

Rev 1141 Rev 1142
Line 371... Line 371...
371
        /* either <DIR> or right aligned 10-chars byte size */
371
        /* either <DIR> or right aligned 10-chars byte size */
372
        memset(buff2, ' ', 10);
372
        memset(buff2, ' ', 10);
373
        if (dta->attr & DOS_ATTR_DIR) {
373
        if (dta->attr & DOS_ATTR_DIR) {
374
          strcpy(buff2 + 10, svarlang_str(37,21));
374
          strcpy(buff2 + 10, svarlang_str(37,21));
375
        } else {
375
        } else {
376
          _ultoa(dta->size, buff2 + 10, 10); /* OpenWatcom extension */
376
          nls_format_number(buff2 + 10, dta->size, nls);
377
        }
377
        }
378
        output(buff2 + strlen(buff2) - 10);
378
        output(buff2 + strlen(buff2) - 10);
379
        /* two spaces and NLS DATE */
379
        /* two spaces and NLS DATE */
380
        buff2[0] = ' ';
380
        buff2[0] = ' ';
381
        buff2[1] = ' ';
381
        buff2[1] = ' ';