skin_parser.c fix red

Change-Id: If093ad790f63d39855bf3253ae7a6c11afcc1a96
This commit is contained in:
William Wilgus 2022-03-13 04:22:05 -04:00
parent 74df3ba2d8
commit 3f2ad8bf2b

View file

@ -1416,7 +1416,7 @@ static int parse_skinvar( struct skin_element *element,
else if (sv_op == 0) /*touch*/
return WPS_ERROR_INVALID_PARAM;
data->max = 0;
if ((sv_op == 1) /*set*/
if (sv_op == 1) /*set*/
data->direct = true;
else if (sv_op == 2) /*inc*/
{