diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-07-24 08:15:17 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-07-24 08:15:17 +0200 |
commit | 50ab62b75d50f28c90d9eea1f786d90aa20cdfe1 (patch) | |
tree | 71237d8525602d7c153b94630955edf465594a7e /src/core/wee-url.h | |
parent | ea76cdb06ea045dafbe91bfde1669e2287f8e8bd (diff) | |
download | weechat-50ab62b75d50f28c90d9eea1f786d90aa20cdfe1.zip |
core: fix priority of logical operators in evaluation of expression
The AND ("&&") takes precedence over the OR ("||").
Before the fix:
>> 1 || 1 && 0
== [0]
After the fix:
>> 1 || 1 && 0
== [1]
Since the "&&" has higher priority, expression is evaluated as:
"1 || (1 && 0)".
Diffstat (limited to 'src/core/wee-url.h')
0 files changed, 0 insertions, 0 deletions