2002-07-10 Lutz M�ller <lutz@users.sourceforge.net>
* library.c (camera_set_config): Fix bug (again). git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@4843 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-07-10 Lutz Müller <lutz@users.sourceforge.net>
|
||||
|
||||
* library.c (camera_set_config): Fix bug (again).
|
||||
|
||||
2002-07-10 Lutz Müller <lutz@users.sourceforge.net>
|
||||
|
||||
* library.c (camera_set_config): Fix bug.
|
||||
|
||||
@@ -394,13 +394,13 @@ static struct {
|
||||
const char *v; \
|
||||
unsigned int i; \
|
||||
\
|
||||
CR (gp_widget_get_child_by_name (w, Name, &w)); \
|
||||
CR (gp_widget_get_child_by_name (wi, Name, &w)); \
|
||||
if (gp_widget_changed (w)) { \
|
||||
CR (gp_widget_get_value (w, &v)); \
|
||||
for (i = 0; i < N_ELEMENTS (ricoh_##n##s); i++) \
|
||||
if (!strcmp (v, _(ricoh_##n##s[i].name))) \
|
||||
break; \
|
||||
CR (ricoh_set_##n (c, co, ricoh_##n##s[i].n)); \
|
||||
CR (ricoh_set_##n (c, co, ricoh_##n##s[i].n)); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user