Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
83a1b518 by Claudio Cambra at 2024-05-11T19:57:49+00:00
macosx: Fix valid album string check for length in playlist table cell view

Signed-off-by: Claudio Cambra <[email protected]>

- - - - -
f3693fe7 by Claudio Cambra at 2024-05-11T19:57:49+00:00
macosx: Set default value for song detail string in playlist table cell view

Signed-off-by: Claudio Cambra <[email protected]>

- - - - -


1 changed file:

- modules/gui/macosx/playlist/VLCPlaylistTableCellView.m


Changes:

=====================================
modules/gui/macosx/playlist/VLCPlaylistTableCellView.m
=====================================
@@ -84,9 +84,9 @@
     }];
 
     const BOOL validArtistString = item.artistName && item.artistName.length > 
0;
-    const BOOL validAlbumString = item.albumName && item.albumName > 0;
+    const BOOL validAlbumString = item.albumName && item.albumName.length > 0;
 
-    NSString *songDetailString;
+    NSString *songDetailString = @"";
 
     if (validArtistString && validAlbumString) {
         songDetailString = [NSString stringWithFormat:@"%@ ยท %@", 
item.artistName, item.albumName];



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/bebcc89c3835222e6e879ad955222951a18cbef5...f3693fe723041082b997cf0eb685e230c9ac90f0

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/bebcc89c3835222e6e879ad955222951a18cbef5...f3693fe723041082b997cf0eb685e230c9ac90f0
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to