Skip to content
Snippets Groups Projects
Commit 7f4dbfc4 authored by Marvin Scholz's avatar Marvin Scholz Committed by Felix Paul Kühne
Browse files

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.
parent a486f648
No related branches found
No related tags found
Loading
Pipeline #378093 passed with stage
in 22 minutes and 1 second
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment