Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarImageProcessing.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-09-11 19:52:01 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-09-11 19:52:01 +1000
commit3c4a2eb71eea73c7e505ab631a1abc484f9e7b92 (patch)
tree4f93ca3fec31a5768d168f47f40b6ff1e6a7b949 /source/core/StarImageProcessing.cpp
parenta98ff51ef7384f9e7d51e821880e9420c8110cb6 (diff)
tooltip stuff
Diffstat (limited to 'source/core/StarImageProcessing.cpp')
-rw-r--r--source/core/StarImageProcessing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarImageProcessing.cpp b/source/core/StarImageProcessing.cpp
index 6d2c51d..390f600 100644
--- a/source/core/StarImageProcessing.cpp
+++ b/source/core/StarImageProcessing.cpp
@@ -214,7 +214,7 @@ ImageOperation imageOperationFromString(StringView string) {
else // we're in A of A=B. In vanilla only A=B pairs are evaluated, so only throw an error if B is also there.
return operation;
- if (which = !which)
+ if ((which = !which))
operation.colorReplaceMap[*(Vec4B*)&a] = *(Vec4B*)&b;
hexLen = 0;