Skip to content

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.

Merge request reports

Loading