Commit a0822223 authored by David Fuhrmann's avatar David Fuhrmann

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

(cherry picked from commit 45640caa8890442b3743a77deb30a57fdbbbe94e)
Signed-off-by: default avatarDavid Fuhrmann <dfuhrmann@videolan.org>
parent fc81b3cf
......@@ -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