From a0b6661eb6980095f24d6317a31404596d70ba8c Mon Sep 17 00:00:00 2001 From: James Bursa Date: Mon, 29 Jan 2007 22:27:15 +0000 Subject: Make GTK build compile on FreeBSD. svn path=/trunk/netsurf/; revision=3154 --- utils/filename.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/filename.c') diff --git a/utils/filename.c b/utils/filename.c index 194d11c74..84b286dfc 100644 --- a/utils/filename.c +++ b/utils/filename.c @@ -216,8 +216,8 @@ bool filename_flush_directory(const char *folder, int depth) { parent = opendir(folder); while ((entry = readdir(parent))) { - if ((entry->d_ino == 0) || (!strcmp(entry->d_name, ".")) || - (!strcmp(entry->d_name, ".."))) + if (!strcmp(entry->d_name, ".") || + !strcmp(entry->d_name, "..")) continue; /* first 3 depths are directories only, then files only */ -- cgit v1.2.3