[easytag/wip/core-refactoring: 6/9] Use et_str_empty() in et_browser_select_dir()



commit 78cfe205f8f3d24fd6a4b7ca176b7eb063448437
Author: David King <amigadave amigadave com>
Date:   Thu Dec 31 17:37:31 2015 +0000

    Use et_str_empty() in et_browser_select_dir()

 src/browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/browser.c b/src/browser.c
index 2f7535c..817784f 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -1024,7 +1024,7 @@ et_browser_select_dir (EtBrowser *self, const gchar *current_path)
     g_return_if_fail (priv->directory_view != NULL);
 
     /* Load current_path */
-    if(!current_path || !*current_path)
+    if (et_str_empty (current_path))
     {
         return;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]