summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--saltoqd/msolimageiohandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saltoqd/msolimageiohandler.cpp b/saltoqd/msolimageiohandler.cpp
index bd0b23c..c921c20 100644
--- a/saltoqd/msolimageiohandler.cpp
+++ b/saltoqd/msolimageiohandler.cpp
@@ -12,7 +12,7 @@ namespace
static inline uchar encode_color(QRgb c)
{
- return (qRed(c) & 0xC0) | ((qBlue(c) & 0xC0) >> 2) | ((qGreen(c) & 0xC0) >> 4) | 3;
+ return (qRed(c) & 0xC0) | ((qGreen(c) & 0xC0) >> 2) | ((qBlue(c) & 0xC0) >> 4) | 3;
}
static inline QRgb decode_color(uchar p, uchar a = 255)