[rhythmbox: 1/2] android: prefix file name with dir separator for untagged files



commit 818711028fea6d40c8840361106aa3815f25ad00
Author: crvi <crvisqr gmail com>
Date:   Fri Jan 10 14:24:45 2020 +0530

    android: prefix file name with dir separator for untagged files
    
    Fixes: #1744

 plugins/android/rb-android-source.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/android/rb-android-source.c b/plugins/android/rb-android-source.c
index 69a2fca73..b6f636663 100644
--- a/plugins/android/rb-android-source.c
+++ b/plugins/android/rb-android-source.c
@@ -721,7 +721,7 @@ build_device_uri (RBAndroidSource *source, RhythmDBEntry *entry, const char *med
                if (p != NULL) {
                        *p = '\0';
                }
-               file = g_strdup_printf ("%s%s", title, ext);
+               file = g_strdup_printf (G_DIR_SEPARATOR_S "%s%s", title, ext);
        }
 
        if (file == NULL) {


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