From 52c2eeded45d84db503e66694378d4ffb1c3f4df Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 3 Sep 2003 00:18:29 +0000 Subject: [PATCH] cosmetix git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@6705 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/canon/library.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/camlibs/canon/library.c b/camlibs/canon/library.c index 0007f7d87..2297ef816 100644 --- a/camlibs/canon/library.c +++ b/camlibs/canon/library.c @@ -579,11 +579,11 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, } #endif /* HAVE_EXIF */ if (*thumbname == '\0') { - /* file internal thumbnail */ + /* file internal thumbnail */ ret = canon_int_get_thumbnail (camera, canon_path, &data, &datalen, context); } else { - /* extra thumbnail file */ + /* extra thumbnail file */ ret = canon_int_get_file (camera, thumbname, &data, &datalen, context); } @@ -635,7 +635,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, } /* do different things with the data fetched above */ - /* FIXME: For which file type(s) should we gp_file_set_name (file, filename);*? */ + /* FIXME: For which file type(s) should we gp_file_set_name(file,filename) ? */ switch (type) { case GP_FILE_TYPE_PREVIEW: /* Either this camera model does not support EXIF, @@ -645,7 +645,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, * in data. */ ret = canon_int_extract_jpeg_thumb (data, datalen, &thumbdata, &datalen, context); - + if (thumbdata != NULL) { /* free old data */ free (data); @@ -683,7 +683,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, gp_file_set_mime_type (file, GP_MIME_JPEG); gp_file_set_data_and_size (file, data, datalen); break; -#endif /* HAVE_EXIF */ +#endif /* HAVE_EXIF */ default: /* this case should've been caught above anyway */ if (data)