chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't put quotes around MF output
[ypp-sc-tools.db-live.git]
/
pctb
/
pages.c
diff --git
a/pctb/pages.c
b/pctb/pages.c
index 433ea36bfcbf9900385a86414a434a0e85dfdab2..c504c951e75956e77b2a3c2ad6e9504d169bab62 100644
(file)
--- a/
pctb/pages.c
+++ b/
pctb/pages.c
@@
-523,11
+523,9
@@
static CanonImage *convert_page(Snapshot *sn) {
unsigned char *pixel= sn->data;
CANONICALISE_IMAGE(im, sn->w, sn->h, {
- rgb=
- (pixel[0] << 16) |
- (pixel[1] << 8) |
- (pixel[2] );
- pixel += 3;
+ r= *pixel++;
+ g= *pixel++;
+ b= *pixel++;
});
sysassert(!ferror(screenshot_file));