Adjust dired line layout to accomodate Win32-specific mode string.
authorChris Hanson <org/chris-hanson/cph>
Mon, 7 Oct 1996 18:21:20 +0000 (18:21 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 7 Oct 1996 18:21:20 +0000 (18:21 +0000)
v7/src/edwin/dos.scm

index 359ca1f08244e9fcfa974dc48b6f6fc6070f3446..7a012584f8ac6d2b7e262cc4a39801ff1630fa6b 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Id: dos.scm,v 1.37 1996/10/02 17:00:28 cph Exp $
+;;;    $Id: dos.scm,v 1.38 1996/10/07 18:21:20 cph Exp $
 ;;;
 ;;;    Copyright (c) 1992-96 Massachusetts Institute of Technology
 ;;;
 
 (define (dos/dired-line-string name attr now)
   (string-append
-   (string-pad-right (file-attributes/mode-string attr)
-                    12 #\Space)
+   (file-attributes/mode-string attr)
    " "
-   (string-pad-left (number->string (file-attributes/length attr))
-                   10 #\Space)
+   (string-pad-left (number->string (file-attributes/length attr)) 10 #\space)
    " "
    (file-time->ls-string (file-attributes/modification-time attr) now)
    " "