[easytag] Flip a conditional in Browser_Update_Current_Path
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Flip a conditional in Browser_Update_Current_Path
- Date: Fri, 15 Feb 2013 20:09:36 +0000 (UTC)
commit 3b62d82787ac1ca3bfa6b33c98ac1ec051d72fd4
Author: David King <amigadave amigadave com>
Date: Fri Feb 15 20:08:47 2013 +0000
Flip a conditional in Browser_Update_Current_Path
This was causing the current browser path to never be updated.
src/browser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/browser.c b/src/browser.c
index cac96fa..8aa7152 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -315,7 +315,7 @@ Browser_Update_Current_Path (const gchar *path)
/* Be sure that we aren't passing 'BrowserCurrentPath' as parameter of the
* function to avoid an invalid read. */
- if (path != BrowserCurrentPath) return;
+ if (path == BrowserCurrentPath) return;
if (BrowserCurrentPath != NULL)
g_free(BrowserCurrentPath);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]