Commit Graph

7 Commits

Author SHA1 Message Date
axxel
5c9d7b2759 fix white-space and indentation inconsistencies in ... (#1002)
* examples
 * gphoto2
 * libgphoto2
 * libgphoto2_port

The code (at least in this part of the project) is effectively formated
using tabs with a tab-size of 8 as a means for indentation.

There have been a few places where spaces were introduced. Some obviously
with an indent size of 8 in mind, others with an indent size of 4.

This commit tries its best to make the use of tabs consistent again, at
least for indenting lines. The "intra line" indentation (white space after
the first non-white-space character) is still a bit of a mess.

Co-authored-by: axxel <awagger@web.de>
2024-09-05 09:25:57 +02:00
Siim Meerits
456a1d598b Remove trailing whitespace from all *.h and *.c files. 2020-07-27 17:37:00 +03:00
Marcus Meissner
1b9ead0602 pass onoff argument to autofocus
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15209 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-10-09 10:24:16 +00:00
Marcus Meissner
75fb88d5de use a -3 to 3 range
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14175 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-09 20:04:22 +00:00
Marcus Meissner
4d3129c1c7 added a bit focusing to the preview sample, also added manual focusing
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14174 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-09 19:58:56 +00:00
Marcus Meissner
bd7d4e26dc add a focusing sample to preview
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14173 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-09 19:11:52 +00:00
Marcus Meissner
8f84b9c22b added a focus sample
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14172 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-01-09 18:53:14 +00:00