[gnote] Fix checking if directory
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix checking if directory
- Date: Sat, 6 Apr 2019 16:57:57 +0000 (UTC)
commit 724deda7cb3267eefffa867545ebad8ecd884c5b
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Jul 30 17:31:38 2018 +0300
Fix checking if directory
src/sharp/directory.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/sharp/directory.cpp b/src/sharp/directory.cpp
index 517f08d2..5300e623 100644
--- a/src/sharp/directory.cpp
+++ b/src/sharp/directory.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2011-2014,2017 Aurimas Cernius
+ * Copyright (C) 2011-2014,2017-2018 Aurimas Cernius
* Copyright (C) 2011 Debarshi Ray
* Copyright (C) 2009 Hubert Figuiere
*
@@ -63,7 +63,7 @@ namespace sharp {
void directory_get_directories(const Glib::ustring & dir,
std::list<Glib::ustring> & files)
{
- if(!Glib::file_test(dir, Glib::FILE_TEST_EXISTS | Glib::FILE_TEST_IS_DIR)) {
+ if(!Glib::file_test(dir, Glib::FILE_TEST_IS_DIR)) {
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]