From a3c8b1bf38e7e73ff716e97eb951e49bf96bfee6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 4 Oct 2007 22:09:00 +0000 Subject: [PATCH] added ixus 950 fixed loop check git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10762 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/ptp2/library.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 4c23d6add..006ff69ff 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -697,6 +697,8 @@ static struct { /* reported by Ferry Huberts */ {"Canon:EOS 40D (PTP mode)", 0x04a9, 0x3146, 0}, /* user had it working without problem */ {"Canon:PowerShot S5 IS (PTP mode)", 0x04a9, 0x3148, PTP_CAP|PTP_CAP_PREVIEW}, + /* Tobias Blaser */ + {"Canon:Digital IXUS 950 IS (PTP mode)",0x04a9, 0x314b, PTPBUG_DELETE_SENDS_EVENT}, {"Canon:PowerShot A570 IS (PTP mode)", 0x04a9, 0x314c, PTPBUG_DELETE_SENDS_EVENT}, {"Canon:PowerShot A560 (PTP mode)", 0x04a9, 0x314d, PTPBUG_DELETE_SENDS_EVENT}, /* mailreport from sec@dschroeder.info */ @@ -4254,7 +4256,7 @@ camera_init (Camera *camera, GPContext *context) } gp_camera_get_abilities(camera, &a); - for (i = 0; sizeof(models)/sizeof(models[0]); i++) { + for (i = 0; ipl->bugs = models[i].known_bugs;