diff src/dired-msw.c @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents e11d67e05968
children de805c49cfc1
line wrap: on
line diff
--- a/src/dired-msw.c	Mon Aug 13 11:12:06 2007 +0200
+++ b/src/dired-msw.c	Mon Aug 13 11:13:30 2007 +0200
@@ -75,11 +75,10 @@
 #include "buffer.h"
 #include "regex.h"
 
+#include "sysfile.h"
 #include "sysdir.h"
-#include "sysfile.h"
 #include "sysproc.h"
 
-#include <windows.h>
 #include <limits.h>
 #include <time.h>
 
@@ -319,14 +318,14 @@
       cptr[1] = cptr[4] = cptr[7] = 'w';
     }
   if ((file->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ||
-      len > 4 &&
-      (_stricmp(&file->cFileName[len - 4], ".exe") == 0
-       || _stricmp(&file->cFileName[len - 4], ".com") == 0
-       || _stricmp(&file->cFileName[len - 4], ".bat") == 0
+      (len > 4 &&
+       (_stricmp(&file->cFileName[len - 4], ".exe") == 0
+	|| _stricmp(&file->cFileName[len - 4], ".com") == 0
+	|| _stricmp(&file->cFileName[len - 4], ".bat") == 0
 #if 0
-       || _stricmp(&file->cFileName[len - 4], ".pif") == 0
+	|| _stricmp(&file->cFileName[len - 4], ".pif") == 0
 #endif
-       ))
+	)))
     {
       cptr[2] = cptr[5] = cptr[8] = 'x';
     } else {
@@ -639,7 +638,7 @@
 void
 vars_of_dired_mswindows (void)
 {
-  DEFVAR_BOOL ("mswindows-ls-sort-case-insensitive", &mswindows_ls_sort_case_insensitive, /*
+  DEFVAR_BOOL ("mswindows-ls-sort-case-insensitive", &mswindows_ls_sort_case_insensitive /*
 *Non-nil means filenames are sorted in a case-insensitive fashion.
 Nil means filenames are sorted in a case-sensitive fashion, just like Unix.
 */ );