[easytag/wip/core-refactoring: 5/8] Use et_str_empty() in et_browser_select_dir()



commit a6f5c49a1b9eb041ad60fb52619088b8e54431bd
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 967e7ac..dfcda5b 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]