Commit 45640caa authored by David Fuhrmann's avatar David Fuhrmann

macosx: avoid possible index out of range problem in bookmarks table view

parent b52bb837
......@@ -397,6 +397,8 @@ clear:
return @"";
else if (input_Control(p_input, INPUT_GET_BOOKMARKS, &pp_bookmarks, &i_bookmarks) != VLC_SUCCESS)
ret = @"";
else if (row >= i_bookmarks)
ret = @"";
else {
NSString * identifier = [theTableColumn identifier];
if ([identifier isEqualToString: @"description"])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment