aboutsummaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-05-18 15:06:44 +0000
committerNRK <nrk@disroot.org>2023-05-18 15:06:44 +0000
commitd0ec8716d7d4d0cfb0067290cac51b59b7fd4e42 (patch)
tree7f0f92f8c6bf045eb820fb8009a1d49373970000 /commands.h
parent4b67816eae77db28db64e5e80d0d99c60e74973f (diff)
fix: calling imlib2 with color modifier being NULL (#440)
the multiframe loaders sets the color modifier to NULL but doesn't restore it before returning. this results in a imlib2 developer warning if you try to change brightness/contrast on a multiframe image (which doesn't have alpha). ensure that the color modifier is restored before returning under all paths. Reported-by: Madhu Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/440 Reviewed-by: eylles <eylles@noreply.codeberg.org>
Diffstat (limited to 'commands.h')
0 files changed, 0 insertions, 0 deletions