[easytag] Return TRUE on succesful Ogg tag writing



commit 5f4850ff100356cc7c0f549f038addaef5e3fded
Author: David King <amigadave amigadave com>
Date:   Sat Jun 1 21:41:59 2013 +0100

    Return TRUE on succesful Ogg tag writing
    
    When vcedit_write() was converted to return a gboolean rather than an
    int, it was not also converted to return TRUE on success, and instead
    continued to return 0. Fix this to avoid an assert when successfully
    writing Ogg tags.

 src/vcedit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vcedit.c b/src/vcedit.c
index 354677f..561b0c1 100644
--- a/src/vcedit.c
+++ b/src/vcedit.c
@@ -762,7 +762,7 @@ cleanup:
         return FALSE;
 
     g_assert (error == NULL || *error == NULL);
-    return 0;
+    return TRUE;
 }
 
 #endif /* ENABLE_OGG */


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