From d905769e6912039a318cdccfe7cd6dc510d254d6 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 6 Apr 2016 14:30:30 +0000 Subject: Fix typos in macro names S_IBLK, S_ILNK, S_ICHR and S_IFIFO git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_File_Icon.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/Fl_File_Icon.cxx b/src/Fl_File_Icon.cxx index 08832a7f3..a4119c922 100644 --- a/src/Fl_File_Icon.cxx +++ b/src/Fl_File_Icon.cxx @@ -208,18 +208,18 @@ Fl_File_Icon::find(const char *filename,// I - Name of file */ { if (S_ISDIR(fileinfo.st_mode)) filetype = DIRECTORY; -# ifdef S_IFIFO +# ifdef S_ISFIFO else if (S_ISFIFO(fileinfo.st_mode)) filetype = FIFO; -# endif // S_IFIFO -# if defined(S_ICHR) && defined(S_IBLK) +# endif // S_ISFIFO +# if defined(S_ISCHR) && defined(S_ISBLK) else if (S_ISCHR(fileinfo.st_mode) || S_ISBLK(fileinfo.st_mode)) filetype = DEVICE; -# endif // S_ICHR && S_IBLK -# ifdef S_ILNK +# endif // S_ISCHR && S_ISBLK +# ifdef S_ISLNK else if (S_ISLNK(fileinfo.st_mode)) filetype = LINK; -# endif // S_ILNK +# endif // S_ISLNK else filetype = PLAIN; } -- cgit v1.2.3