summaryrefslogtreecommitdiff
path: root/src/scandir_win32.c
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2005-08-29 20:16:36 +0000
committerMatthias Melcher <fltk@matthiasm.com>2005-08-29 20:16:36 +0000
commita2effb7c2becc11fac6cb55bff1d9635773c65ee (patch)
tree62ab0e6ee79c74dedeadd3e46cdcf59a260a3b3d /src/scandir_win32.c
parentd952d9b9d6dba689f770918af4d66c58fb95c32e (diff)
Fixed C++ style comments in plain C files (STR #997)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/scandir_win32.c')
-rw-r--r--src/scandir_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scandir_win32.c b/src/scandir_win32.c
index 001d4f94b..00d0b8e6a 100644
--- a/src/scandir_win32.c
+++ b/src/scandir_win32.c
@@ -56,7 +56,7 @@ int fl_scandir(const char *dirname, struct dirent ***namelist,
if ((len==1)&& (d[-1]=='.')) { strcpy(findIn, ".\\*"); is_dir = 1; }
if ((len>0) && (d[-1]=='\\')) { *d++ = '*'; *d = 0; is_dir = 1; }
if ((len>1) && (d[-1]=='.') && (d[-2]=='\\')) { d[-1] = '*'; is_dir = 1; }
- if (!is_dir) { // this file may still be a directory that we need to list
+ if (!is_dir) { /* this file may still be a directory that we need to list */
DWORD attr = GetFileAttributes(findIn);
if (attr&FILE_ATTRIBUTE_DIRECTORY)
strcpy(d, "\\*");
@@ -74,7 +74,7 @@ int fl_scandir(const char *dirname, struct dirent ***namelist,
selectDir=(struct dirent*)malloc(sizeof(struct dirent)+strlen(find.cFileName)+2);
strcpy(selectDir->d_name, find.cFileName);
if (find.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
- // Append a trailing slash to directory names...
+ /* Append a trailing slash to directory names... */
strcat(selectDir->d_name, "/");
}
if (!select || (*select)(selectDir)) {