[easytag] Revert "[patch] debian/patches/01-autoload.patch"



commit c3b8728863f76c3ded465dfe45d212502a1505cc
Author: David King <amigadave amigadave com>
Date:   Sat Oct 5 14:28:39 2013 +0100

    Revert "[patch] debian/patches/01-autoload.patch"
    
    This reverts commit 820c5ae2ddc319073d23d308204069850c1682a2.
    
    A bug where EasyTAG would not load a directory passed as an argument was
    fixed and released in version 2.1.7:
    
    https://bugs.launchpad.net/ubuntu/+source/easytag/+bug/230873
    
    However, the underlying cause was an invalid read when checking if the
    current path in the browser was valid, in Browser_Update_Current_Path.
    Fixing the underlying cause exposed a problem introduced by the original
    patch, which lead to the initial directory being loaded twice.
    
    Fixes bug 689445.

 src/easytag.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index 0b3bc54..21069c0 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -4230,8 +4230,8 @@ Init_Load_Default_Dir (void)
     if (INIT_DIRECTORY)
     {
         Browser_Tree_Select_Dir(INIT_DIRECTORY);
-        Browser_Reload_Directory();
-    }else
+    }
+    else
     {
         Statusbar_Message(_("Select a directory to browse"),FALSE);
         Browser_Load_Default_Directory();


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