'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:
Marcus Meissner
2002-01-09 22:24:56 +00:00
parent b99fe4a675
commit c1e449219e

View File

@@ -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: