summaryrefslogtreecommitdiff
path: root/cmake/FindIconv.cmake
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-04-04 14:44:18 +0200
committerSébastien Helleu <flashcode@flashtux.org>2021-04-04 14:44:18 +0200
commit3bf585ba04e7ff4a95f739e58503da7af3714bc7 (patch)
tree4491e9835a428d94bcb643e519f7e4ce0f47fc7c /cmake/FindIconv.cmake
parent1aefb0a54606071e6aeca89f0cfbfc55a2f356dc (diff)
downloadweechat-3bf585ba04e7ff4a95f739e58503da7af3714bc7.zip
core: evaluate left/right part of comparison after split on the comparison operator in ${if:xxx} (closes #1627)
To force evaluation of the expression before doing the comparison (less safe), the "${eval_cond:xxx}" can be used. With the old behavior we had: >> ${if:a==b} == [0] >> ${if:${raw:a==b}} == [0] >> ${if:${eval_cond:${raw:a==b}}} == [0] And with the new behavior, we have: >> ${if:a==b} == [0] >> ${if:${raw:a==b}} == [1] >> ${if:${eval_cond:${raw:a==b}}} == [0]
Diffstat (limited to 'cmake/FindIconv.cmake')
0 files changed, 0 insertions, 0 deletions