Util: Fix build on 1555 color
Jeffrey Pfau jeffrey@endrift.com
Fri, 21 Oct 2016 13:54:01 -0700
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/util/png-io.c
→
src/util/png-io.c
@@ -72,9 +72,9 @@ row[x * 3] = (c >> 8) & 0xF8;
row[x * 3 + 1] = (c >> 3) & 0xFC; row[x * 3 + 2] = (c << 3) & 0xF8; #else - row[x * ] = (c >> 7) & 0xF8; - row[x * + 1] = (c >> 2) & 0xF8; - row[x * + 2] = (c << 3) & 0xF8; + row[x * 3] = (c >> 7) & 0xF8; + row[x * 3 + 1] = (c >> 2) & 0xF8; + row[x * 3 + 2] = (c << 3) & 0xF8; #endif #else #ifdef __BIG_ENDIAN__