Problem: popup_image_composites_frames() has improper if block scope
Solution: Add curly braces to properly scope the if block
(Yee Cheng Chin).
If the ifdef conditions within the if block evaluates to false, then the
generated code will have the if block apply to the next statement
instead. Use a curly brace to properly scope the if block.
related: #20478
closes: #20584
Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
{
# ifdef FEAT_GUI
if (gui.in_use)
+ {
# ifdef FEAT_IMAGE_CAIRO
// Cairo paints the image with OPERATOR_OVER onto gui.surface, so
// a swapped-in RGBA frame needs the cells repainted underneath.
// render nodes, so there is no blitting in the first place.
return false;
# endif
+ }
# endif
# ifdef FEAT_IMAGE_SIXEL
// Sixel P2=1 transparency: unpainted pixels keep their previous
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 687,
/**/
686,
/**/