* library.c (jamcam_file_count): Patch by Thor Ablestar <thor@irk.ru>
Fix the file count if the camera storage is full. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4299 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-03-21 Hubert Figuiere <hfiguiere@teaser.fr>
|
||||
|
||||
* library.c (jamcam_file_count): Patch by Thor Ablestar <thor@irk.ru>
|
||||
Fix the file count if the camera storage is full.
|
||||
|
||||
2002-01-04 Chris Pinkham <cpinkham@infi.net>
|
||||
|
||||
* jamcam.c, library.c, library.h: updated code to use new
|
||||
|
||||
@@ -239,7 +239,7 @@ int jamcam_file_count (Camera *camera) {
|
||||
|
||||
jamcam_read_packet( camera, reply, 16 );
|
||||
|
||||
while( reply[0] != 0xff ) {
|
||||
while( reply[0] = 'K' ) {
|
||||
width = (reply[5] * 256) + reply[4];
|
||||
height = (reply[7] * 256) + reply[6];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user