Thomas Davis 11 年之前
父节点
当前提交
f006a81d3e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main.c

+ 2 - 2
src/main.c

@@ -344,7 +344,7 @@ static void verify_existence(char **options, const char *option_name,
     struct stat st;
     struct stat st;
     const char *path = get_option(options, option_name);
     const char *path = get_option(options, option_name);
 
 
-    #ifdef _WIN32
+#ifdef _WIN32
     wchar_t wbuf[1024];
     wchar_t wbuf[1024];
     char mbbuf[1024];
     char mbbuf[1024];
     int len;
     int len;
@@ -356,7 +356,7 @@ static void verify_existence(char **options, const char *option_name,
         wcstombs(mbbuf, wbuf, sizeof(mbbuf)-1);
         wcstombs(mbbuf, wbuf, sizeof(mbbuf)-1);
         path = mbbuf;
         path = mbbuf;
     }
     }
-    #endif
+#endif
 
 
     if (path != NULL && (stat(path, &st) != 0 ||
     if (path != NULL && (stat(path, &st) != 0 ||
                          ((S_ISDIR(st.st_mode) ? 1 : 0) != must_be_dir))) {
                          ((S_ISDIR(st.st_mode) ? 1 : 0) != must_be_dir))) {