[vlc-commits] macosx: compilation fix for earlier clang releases and runtime fix for 10.6
Felix Paul Kühne
git at videolan.org
Mon Aug 18 23:55:12 CEST 2014
vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Aug 18 22:54:16 2014 +0200| [e4c7e1db0f653e94ecb34f9420586ad0517fa869] | committer: Jean-Baptiste Kempf
macosx: compilation fix for earlier clang releases and runtime fix for 10.6
(cherry picked from commit 78e91e55409866e07271be234452a122f717d662)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=e4c7e1db0f653e94ecb34f9420586ad0517fa869
---
modules/gui/macosx/playlist.m | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 09ddb9d..e6d777b 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -209,13 +209,13 @@
NSArray *columns = [o_outline_view tableColumns];
NSUInteger count = columns.count;
for (NSUInteger x = 0; x < count; x++)
- [[columns[x] dataCell] setFont:fontToUse];
+ [[[columns objectAtIndex:x] dataCell] setFont:fontToUse];
[o_outline_view setRowHeight:rowHeight];
columns = [o_outline_view_other tableColumns];
count = columns.count;
for (NSUInteger x = 0; x < count; x++)
- [[columns[x] dataCell] setFont:fontToUse];
+ [[[columns objectAtIndex:x] dataCell] setFont:fontToUse];
[o_outline_view_other setRowHeight:rowHeight];
}
More information about the vlc-commits
mailing list