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:
Lutz Mueller
2002-07-10 20:51:10 +00:00
parent 668380eab2
commit 09a8fa2ba9
2 changed files with 6 additions and 2 deletions

View File

@@ -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.

View File

@@ -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)); \
} \
}