[vlc-devel] [VLC 3.x 05/11] macosx: Use define for status column

Marvin Scholz epirat07 at gmail.com
Wed Aug 26 00:50:11 CEST 2020


Instead of "magic" string

(cherry picked from commit 1cd82bd91e653b174cd67f4e22407c94f995ba80)
Signed-off-by: Marvin Scholz <epirat07 at gmail.com>
---
 modules/gui/macosx/VLCPlaylist.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCPlaylist.m b/modules/gui/macosx/VLCPlaylist.m
index 22759d2d87..f5c6729761 100644
--- a/modules/gui/macosx/VLCPlaylist.m
+++ b/modules/gui/macosx/VLCPlaylist.m
@@ -193,7 +193,7 @@ - (void)setPlaylistHeaderView:(NSTableHeaderView * __nullable)playlistHeaderView
         NSString *columnName = column[0];
         NSNumber *columnWidth = column[1];
 
-        if ([columnName isEqualToString:@"status"])
+        if ([columnName isEqualToString:STATUS_COLUMN])
             continue;
 
         // Memorize if we custom set always-enabled title item
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list