summaryrefslogtreecommitdiff
path: root/misc/xine-logoconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xine-logoconv.c')
-rw-r--r--misc/xine-logoconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/xine-logoconv.c b/misc/xine-logoconv.c
index 490d206b4..20f4a0a4b 100644
--- a/misc/xine-logoconv.c
+++ b/misc/xine-logoconv.c
@@ -110,7 +110,7 @@ static void save_image (char *oldname, ImlibImage *img) {
cv = v + 128.0;
gzwrite (fp, &cy, 1);
- if (px % 2)
+ if ((px-1) % 2)
gzwrite (fp, &cv, 1);
else
gzwrite (fp, &cu, 1);