diff options
| author | rbuj <[email protected]> | 2022-01-28 21:07:41 +0100 | 
|---|---|---|
| committer | Luke from DC <[email protected]> | 2022-02-13 21:51:59 +0000 | 
| commit | 936a0bdea9b651ad705552600779502dfec91127 (patch) | |
| tree | 70186783e29abb2e0c7cc16d8d7ee3637208f2f8 /src/ui/theme.c | |
| parent | 4f73014773f194331b441c6879fe7d8744d9d9b8 (diff) | |
| download | marco-936a0bdea9b651ad705552600779502dfec91127.tar.bz2 marco-936a0bdea9b651ad705552600779502dfec91127.tar.xz  | |
Remove TRUE, FALSE from if statement
Diffstat (limited to 'src/ui/theme.c')
| -rw-r--r-- | src/ui/theme.c | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c index c117eeb8..a78f9ce2 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -2917,7 +2917,7 @@ meta_parse_position_expression (MetaDrawSpec              *spec,      val = spec->value;    else      { -      if (pos_eval (spec, env, &spec->value, err) == FALSE) +      if (!pos_eval (spec, env, &spec->value, err))          {            g_assert (err == NULL || *err != NULL);            return FALSE; @@ -2946,7 +2946,7 @@ meta_parse_size_expression (MetaDrawSpec              *spec,      val = spec->value;    else      { -      if (pos_eval (spec, env, &spec->value, err) == FALSE) +      if (!pos_eval (spec, env, &spec->value, err))          {            g_assert (err == NULL || *err != NULL);            return FALSE; @@ -3095,10 +3095,7 @@ meta_draw_spec_new (MetaTheme  *theme,                                                   spec->n_tokens, NULL);    if (spec->constant)      { -      gboolean result; - -      result = pos_eval (spec, NULL, &spec->value, error); -      if (result == FALSE) +      if (!pos_eval (spec, NULL, &spec->value, error))          {            meta_draw_spec_free (spec);            return NULL;  | 
