summaryrefslogtreecommitdiff
path: root/saltoqd
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-04-15 00:07:07 +0200
committerJavier <dev.git@javispedro.com>2015-04-15 00:07:07 +0200
commite9628b70189b9acb84705693e155e10700f21177 (patch)
tree1f3a9fc0f07dea2c3dc63080bff5de41c14e0f07 /saltoqd
parente48a4a6f34bd813c690d8066af39c781a922b532 (diff)
downloadsaltoq-e9628b70189b9acb84705693e155e10700f21177.tar.gz
saltoq-e9628b70189b9acb84705693e155e10700f21177.zip
fix typo
Diffstat (limited to 'saltoqd')
-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)