pictureflow: fix FS#13360 softlock cannot be disabled

Change-Id: Id34cc737f9d43a5cbaf5519a6f05ca31efbee8f2
This commit is contained in:
Christian Soffke 2022-08-14 02:35:36 +02:00
parent 7a3d829543
commit cf37676fb1

View file

@ -963,6 +963,9 @@ const struct custom_format format_transposed = {
static const struct button_mapping* get_context_map(int context)
{
#ifdef HAVE_LOCKED_ACTIONS
context &= ~CONTEXT_LOCKED;
#endif
return pf_contexts[context & ~CONTEXT_PLUGIN];
}