From c1e449219e6473a616f398ffef2ecafe1edbfa72 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 9 Jan 2002 22:24:56 +0000 Subject: [PATCH] '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 --- camlibs/stv0680/library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/stv0680/library.c b/camlibs/stv0680/library.c index 5ea325316..84979f32a 100644 --- a/camlibs/stv0680/library.c +++ b/camlibs/stv0680/library.c @@ -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: