[vlc-commits] macosx: Use define for status column

Marvin Scholz git at videolan.org
Sat Aug 18 01:35:16 CEST 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Aug 18 01:35:11 2018 +0200| [1cd82bd91e653b174cd67f4e22407c94f995ba80] | committer: Marvin Scholz

macosx: Use define for status column

Instead of "magic" string

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1cd82bd91e653b174cd67f4e22407c94f995ba80
---

 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 3d8b98b7ed..f0ce42beb5 100644
--- a/modules/gui/macosx/VLCPlaylist.m
+++ b/modules/gui/macosx/VLCPlaylist.m
@@ -192,7 +192,7 @@
         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



More information about the vlc-commits mailing list