diff options
| author | Manolo Gouy <Manolo> | 2016-04-15 07:33:26 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-15 07:33:26 +0000 |
| commit | 53d7191928184860fe82d5546805af781b8266e9 (patch) | |
| tree | 5ad2b8ee5e54402407f607cbf80b7dfd854d6d65 /src/filename_isdir.cxx | |
| parent | b9564c64cca468f05871aa517cf07f6fc3ab3a5d (diff) | |
Remove S_IFMT from the public FLTK API
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/filename_isdir.cxx')
| -rw-r--r-- | src/filename_isdir.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filename_isdir.cxx b/src/filename_isdir.cxx index 378f17e4e..8364742da 100644 --- a/src/filename_isdir.cxx +++ b/src/filename_isdir.cxx @@ -65,7 +65,7 @@ int Fl_System_Driver::filename_isdir(const char* n) { fn[length] = '\0'; n = fn; } - return !stat(n, &s) && (s.st_mode & S_IFMT) == S_IFDIR; + return !stat(n, &s) && (s.st_mode & S_IFDIR); } // |
