Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Thu, 09 Jun 2016 07:41:09 UTC Commit: ca8ef9643e7ca347a03875798fa1bbd122e9c917 https://github.com/geany/geany/commit/ca8ef9643e7ca347a03875798fa1bbd122e9c9...
Log Message: ----------- Add parentheses in an if to make the condition more clear
Modified Paths: -------------- src/symbols.c
Modified: src/symbols.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -2080,8 +2080,8 @@ static GPtrArray *filter_tags(GPtrArray *tags, TMTag *current_tag, gboolean defi
foreach_ptr_array(tmtag, i, tags) { - if (definition && !(tmtag->type & forward_types) || - !definition && (tmtag->type & forward_types)) + if ((definition && !(tmtag->type & forward_types)) || + (!definition && (tmtag->type & forward_types))) { /* If there are typedefs of e.g. a struct such as * "typedef struct Foo {} Foo;", filter out the typedef unless
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).