From a2effb7c2becc11fac6cb55bff1d9635773c65ee Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 29 Aug 2005 20:16:36 +0000 Subject: 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 --- src/scandir_win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scandir_win32.c') 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)) { -- cgit v1.2.3