'w' should be 'rw', merge error from the preview patch.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3787 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -294,7 +294,7 @@ int stv0680_get_image_preview(GPPort *port, int image_no,
|
||||
rh = (imghdr.height[0] << 8) | imghdr.height[1];
|
||||
rsize = (imghdr.size[0] << 24) | (imghdr.size[1] << 16) |
|
||||
(imghdr.size[2]<<8) | imghdr.size[3];
|
||||
scale = (w>>8)+1;
|
||||
scale = (rw>>8)+1;
|
||||
break;
|
||||
default:
|
||||
case GP_PORT_SERIAL:
|
||||
|
||||
Reference in New Issue
Block a user