[easytag] Fix comparison against empty string
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Fix comparison against empty string
- Date: Fri, 2 Jun 2017 05:55:00 +0000 (UTC)
commit d0c05132e6e32f907044fbe5ebd4fe90888b5010
Author: David King <amigadave amigadave com>
Date: Fri Jun 2 06:52:36 2017 +0100
Fix comparison against empty string
https://bugzilla.gnome.org/show_bug.cgi?id=782302
src/browser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/browser.c b/src/browser.c
index 19b4e21..6a6daf1 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -1110,7 +1110,7 @@ et_browser_select_dir (EtBrowser *self,
while (parts[index]) // it is NULL-terminated
{
- if (parts[index] == '\0')
+ if (*parts[index] == '\0')
{
index++;
continue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]