[vlc-devel] [PATCH 06/12] fixed array access in modules/gui/macosx/VLCUIWidget.m

Benedikt Bergenthal benedikt at kdrennert.de
Fri May 10 18:47:55 CEST 2013


diff --git a/modules/gui/macosx/VLCUIWidgets.m b/modules/gui/macosx/VLCUIWidgets.m
index d86c57f..5432902 100644
--- a/modules/gui/macosx/VLCUIWidgets.m
+++ b/modules/gui/macosx/VLCUIWidgets.m
@@ -58,7 +58,7 @@
 
 - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex
 {
-    return [contentArray[rowIndex] objectForKey:@"text"];
+    return [[contentArray objectAtIndex:rowIndex] objectForKey:@"text"];
 }
 @end
 
-- 
1.8.2.2




More information about the vlc-devel mailing list