[vlc-commits] [Git][videolan/vlc][master] 2 commits: macosx: Fix valid album string check for length in playlist table cell view

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sat May 11 20:16:21 UTC 2024



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 <developer at claudiocambra.com>

- - - - -
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 <developer at claudiocambra.com>

- - - - -


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


More information about the vlc-commits mailing list