macosx: RendererMenuController: fix incorrect index check
The NSMenu indexOf… methods return -1 and not NSNotFound, so the check here is insufficient and can lead to crashes due to passing a negative integer to itemAtIndex.
The NSMenu indexOf… methods return -1 and not NSNotFound, so the check here is insufficient and can lead to crashes due to passing a negative integer to itemAtIndex.
VideoLAN code repository instance