[gnome-commander] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: code cleanup
- Date: Thu, 14 Apr 2011 19:11:45 +0000 (UTC)
commit a64715a4a85ed49ee861016ae63b75f6621625cc
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Thu Apr 14 20:47:02 2011 +0200
noop: code cleanup
src/gnome-cmd-search-dialog.cc | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index 5d41702..f493822 100755
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -295,12 +295,11 @@ static void search_dir_r (GnomeCmdDir *dir, SearchData *data)
GnomeCmdFile *f = (GnomeCmdFile *) i->data;
- // If the current file is a directory lets continue our recursion
+ // If the current file is a directory, let's continue our recursion
if (GNOME_CMD_IS_DIR (f) && data->recurse)
{
// we don't want to go backwards or follow symlinks
- if (!f->is_dotdot && strcmp (f->info->name, ".") != 0 &&
- !GNOME_VFS_FILE_INFO_SYMLINK (f->info))
+ if (!f->is_dotdot && strcmp (f->info->name, ".") != 0 && !GNOME_VFS_FILE_INFO_SYMLINK (f->info))
{
GnomeCmdDir *new_dir = GNOME_CMD_DIR (f);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]